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

# Google Workspace

> Configure Google ID tokens for Char publishable-key embeds

Use Google Identity Services (or Firebase-authenticated Google users) to pass ID tokens to Char.

## 1) Configure Google in Char

Set provider settings and allowed audiences in dashboard.

## 2) Read token

```ts theme={null}
const idToken = response.credential;
```

## 3) Connect

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

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