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

# Azure AD

> Configure Microsoft Entra ID tokens for Char publishable-key embeds

Use Microsoft Entra ID to issue user ID tokens for Char.

## 1) Configure provider in Char

Set provider type, tenant/issuer settings, and allowed audiences in dashboard.

## 2) Read token from Entra auth flow

```ts theme={null}
const idToken = tokenResponse?.idToken;
```

## 3) Connect agent

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

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