> ## Documentation Index
> Fetch the complete documentation index at: https://docs.endstate.io/llms.txt
> Use this file to discover all available pages before exploring further.

# EndstatePublicClient

> The API with a publishable key. Safe to construct in page source; it can record a tap and nothing else.

```ts theme={null}
class EndstatePublicClient extends BaseClient
```

## Example

```ts theme={null}
const endstate = new EndstatePublicClient({
  publishableKey: publishableKey(process.env.NEXT_PUBLIC_ENDSTATE_KEY),
});
```
