> ## 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.

# OneLogin

> Configure OneLogin tokens for Char publishable-key embeds

Use OneLogin ID tokens with Char.

## 1) Configure OneLogin in Char

Set issuer/domain and audience settings.

## 2) Read token from your OneLogin auth client

```ts theme={null}
const idToken = user.id_token;
```

## 3) Connect

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

<Card title="Embedding Guide" icon="code" href="/guides/embedding-agent" />
