# CroctCredentials

Learn how to type the Croct credentials.

This type describes the credentials a [`CredentialsResolver`](credentials-resolver) returns for a request.

## Definition

This type has the following shape:

```ts
type CroctCredentials = {
  appId: string,
  apiKey: string,
};
```

The `appId` is the [application](/explanation/application/overview) ID, which reaches the browser to bootstrap the client-side SDK. The `apiKey` is the [API key](/explanation/application/api-keys), which stays on the server to authenticate server-side requests.
