Skip to main content

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.

Use Cognito User Pool ID tokens with Char.

1) Configure Cognito in Char

Set issuer/domain details and allowed audiences.

2) Read token from Cognito session

const idToken = session.tokens?.idToken?.toString();

3) Connect

agent.connect({
  publishableKey: "pk_live_...",
  idToken,
});

Identity Providers Overview