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

# Embed a Chat

Embed a streamlined, white-label version of WisdomAI Chat directly into your application.

<Info>
  The embedded chat UI is hosted at: `https://<customer>.wisdom.ai/chat/embed`
</Info>

This guide outlines the process for embedding WisdomAI Chat into your application. Before proceeding, ensure you've reviewed the [Embeddings Overview](/integrations/embeddings/embedding) for authentication setup and security requirements.

<Note>
  The API and embed URL examples use `<customer>.wisdom.ai` as a placeholder. Replace it with the base URL of your WisdomAI tenant — the same domain you use to log in. Both `wisdom.ai` and `askwisdom.ai` are valid depending on your deployment.
</Note>

## Embed the WisdomAI Chat in your application

To embed the chat into your application, add the iframe shown below.

```html theme={null}
<iframe
  src="https://<customer>.wisdom.ai/chat/embed?token=<signed-jwt>"
  style="width: 100%; height: 100%; border: 0;" />
```

In the token query param, add the signed `jwt-token` that you generated in the authentication stage. Each embedded chat session will automatically create a new conversation.

The embedded page controls the chat experience; no further state management is required after the initial load.

## Next steps

<CardGroup cols={2}>
  <Card title="Embed a Dashboard" icon="chart-bar" href="/integrations/embeddings/iframe/embed-a-dashboard">
    Learn how to embed interactive dashboards and visualizations
  </Card>

  <Card title="Impersonate User API" icon="user" href="/integrations/graphql-api/mutations/auth/impersonate-user">
    Detailed documentation for the authentication API
  </Card>
</CardGroup>
