> For the complete documentation index, see [llms.txt](https://docs-v3.toucantoco.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-v3.toucantoco.com/visualizations-and-layouts/apps/dashboard-builder/embed-a-dashboard-builder.md).

# Embed a Dashboard Builder

You can get the embed script (both web component and iframe) in the interface, by clicking on the button "Copy script" in the top right corner.

<figure><img src="/files/8pgefTP5FdnVQ14Sj1Lr" alt=""><figcaption></figcaption></figure>

Another way to do it, it's to use the Embed SDK to programmatically insert the script in your code. See [insertEmbedById](/visualizations-and-layouts/embedding/embed-sdk.md#insertembedbyid) method in the Embed SDK documentation.

### Set an alias

You can set an alias to retrieve your Dashboard Builder more easily. More information [here](/visualizations-and-layouts/embedding/integration/generate-and-manage-embeds.md#alias).

<figure><img src="/files/r6RpNAqSyWDrGi4T0E0L" alt=""><figcaption></figcaption></figure>

Here is a video showing how to embed a dashboard builder once you have got an [opaque token](/visualizations-and-layouts/embedding/authentication.md#create-your-opaque-token).

{% embed url="<https://youtu.be/kLh5eGnYf1U>" %}
Embedding a Dashboard Builder into your web page or SaaS Product
{% endembed %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs-v3.toucantoco.com/visualizations-and-layouts/apps/dashboard-builder/embed-a-dashboard-builder.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
