> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/embed.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# Embed

- [Overview](https://docs.fastn.ai/embed/embed.md): Put the integrations widget inside your product, scoped to each customer, with an iframe, the SDK or a share link.
- [Widget](https://docs.fastn.ai/embed/widget-builder.md): What the widget is, and how the widget builder sets its integrations, layout, style and features.
- [Build your widget](https://docs.fastn.ai/embed/widget-builder/building-your-widget.md): Use the widget builder to choose the integrations your customers see, set the layout and style, preview the result and publish it.
- [Edit integration](https://docs.fastn.ai/embed/widget-builder/edit-integration.md): Every setting in the Edit Integration dialog: connectors, workflows, triggers, callbacks and per-connector overrides.
- [Layout](https://docs.fastn.ai/embed/widget-builder/layout.md): The Layout tab: the widget's header text and the sections your customers see.
- [Style](https://docs.fastn.ai/embed/widget-builder/style.md): The Style tab: theme, accent, type, shape and design tokens that match the widget to your brand.
- [Features](https://docs.fastn.ai/embed/widget-builder/features.md): The Features tab: optional features your customers get in the widget, and workflows that decide what each customer can see and do.
- [Embed in your product](https://docs.fastn.ai/embed/embedding.md): Three ways to put the widget in your product, and how to hand it a token safely.
- [How embedding works](https://docs.fastn.ai/embed/embedding/how-embedding-works.md): How your backend, your frontend and Fastn fit together to show the widget to one of your customers.
- [Embedding quickstart](https://docs.fastn.ai/embed/embedding/embedding-quickstart.md): Put the Fastn widget in your product and connect an app as a customer would. About ten minutes.
- [Iframe](https://docs.fastn.ai/embed/embedding/iframe.md): The simplest embed: an HTML iframe tag.
- [SDK](https://docs.fastn.ai/embed/embedding/sdk.md): The SDK mounts the same iframe and adds events, token refresh, theming and modal mode.
- [Token API](https://docs.fastn.ai/embed/embedding/token-api.md): Minting and refreshing embed tokens from your backend, and the session cap.
- [Generate embed tokens](https://docs.fastn.ai/embed/embedding/generating-embed-tokens.md): The full reference for the embed token request: endpoint, headers, body, and how to name the customer.
- [Integration flow](https://docs.fastn.ai/embed/embedding/integration-flow.md): This page walks you through embedding the Fastn widget for your customers: register a customer organization, retrieve an embed token, and load the widget.
- [Customers and isolation](https://docs.fastn.ai/embed/embedding/understanding-tenancy.md): How the embed token scopes the widget to one customer, and to one person at that customer
- [Customer MCP URL](https://docs.fastn.ai/embed/embedding/customer-mcp-url.md): Create a one-time URL from your backend that connects a customer's AI client to Fastn.
- [Go-live checklist](https://docs.fastn.ai/embed/production-checklist.md): What to check before your customers see the widget: tokens, tenancy, hosts, OAuth branding, share links and the problems real deployments hit.
- [API keys](https://docs.fastn.ai/embed/api-keys.md): Create, rotate and revoke the fsk\_ keys your backend uses to call Fastn.
- [Verify caller identity](https://docs.fastn.ai/embed/api-keys/identity-verification.md): Sign the x-org-id and x-user-id headers with an HMAC so a caller cannot change which customer or user it claims to be.
- [Find your org identifier](https://docs.fastn.ai/embed/api-keys/finding-your-org-identifier.md): Which customer identifier the token request takes in x-org-id, and where to find it.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/embed.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
