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

# Embed charts, dashboards and AI Views

> Show Alphacast content on your web page with an iframe.

You can show a chart, dashboard or AI View on a web page with an `iframe`.

Embedding charts, dashboards, and agents is available on the **Workspace** plan. You may see the **Embed** option on other plans, but you need Workspace to use embeds on your site. See [pricing](https://www.alphacast.io/pricing).

## Get the embed code

**1. Open the Share window**

Open the menu on a chart card in a repository's **Views** tab, on an AI View or on a dashboard. Click **Share**.

**2. Choose Embed**

Click **Embed**. Check **Hide title** if you want to request the content without its title.

**3. Copy the code**

Click **Copy**, then paste the code into your page.

![Share window with Embed open, showing Hide title and the iframe code](https://mintcdn.com/alphacastio/S4wtX2Iw06s3xHSn/images/app/embed.jpg?fit=max\&auto=format\&n=S4wtX2Iw06s3xHSn\&q=85\&s=b1c6e9cb956ca2639612615f0360810d)

The code looks like this:

```html theme={null}
<iframe src="https://www.alphacast.io/p/<owner>/charts/<chart>/embed" width="600" height="400"></iframe>
```

## Adjust the size

Change `width` and `height` to fit your page. For a flexible width, use a style:

```html theme={null}
<iframe src="<your embed URL>" style="width: 100%; height: 600px; border: 0;"></iframe>
```

Test the result on a phone. Dashboards usually need more height than a single chart.

## Control who can see it

An embed does not grant access. [Repository permissions](https://learn.alphacast.io/concepts/repositories.md#privacy) still apply. For content that every visitor should see without signing in, keep it in a public repository. This also applies to each item inside an embedded dashboard.

Test your page in a private browser window to see what a visitor sees.

## Keep embeds working

* An embed loads the content from Alphacast. You do not need to replace the code after the data updates, although a change can take a while to appear.
* If you delete the content or make it private, visitors may stop seeing it.
* Some website builders do not allow `iframe` elements. Check your site's settings.

## Next steps

> [card] [Charts](https://learn.alphacast.io/charts.md)
>
> Create the charts to embed.

> [card] [Dashboards](https://learn.alphacast.io/dashboards.md)
>
> Build a page with several items.


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