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

# Clerk

> Configure Clerk user tokens for Char publishable-key embeds

Use Clerk session tokens with Char.

## 1) Configure Clerk in Char

Set provider/issuer settings and allowed audiences.

## 2) Read token from Clerk

```ts theme={null}
const idToken = await getToken();
```

## 3) Connect

```ts theme={null}
agent.connect({
  publishableKey: "pk_live_...",
  idToken,
});
```

<Card title="Identity Providers Overview" icon="shield" href="/identity-providers/index" />
