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

# Embed APIs

> Integrate Cube analytics into your applications using the Chat API and session-based secure embedding.

Embed APIs

Embed APIs enable you to integrate Cube's analytics capabilities directly into your applications with secure, session-based authentication.

## Available APIs

### [Chat API][ref-chat-api]

API-first approach to build custom Analytics Chat experiences. Use this API to programmatically integrate AI-powered conversations with your data into your applications.

### [Generate Session][ref-generate-session]

Create secure, temporary sessions for embedding Cube content. Use sessions to authenticate users for [signed embedding][ref-embedding] without exposing API keys.

### [Dashboard Comments][ref-dashboard-comments]

Read and write comment threads on an embedded published dashboard on behalf of a signed-in embed user.

### [Revoke an Embed Session][ref-revoke-session]

End a signed embed session from the server side — call it from your application's logout handler.

[ref-chat-api]: https://docs.cube.dev/reference/embed-apis/chat-api.md

[ref-generate-session]: https://docs.cube.dev/reference/embed-apis/generate-session.md

[ref-dashboard-comments]: https://docs.cube.dev/reference/embed-apis/dashboard-comments.md

[ref-revoke-session]: https://docs.cube.dev/api-reference/embed/revoke-an-embed-session.md

[ref-embedding]: https://docs.cube.dev/embedding/iframe/auth/signed.md


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.