> For the complete documentation index, see [llms.txt](https://interactively.gitbook.io/interactively-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://interactively.gitbook.io/interactively-docs/share/website-embed.md).

# Website Embed

## Inline Embed

Embed your Interactively demo as an Inline Frame (iFrame) within a webpage. The inline embed code is fully responsive, automatically adjusting the iframe size based on the parent element's width using an intrinsic ratio that scales with the viewer’s device.

## Inline Embed Instructions

{% stepper %}
{% step %}

### Share

Once your demo is published, open the **Share** menu.
{% endstep %}

{% step %}

### Get code

Click <kbd>Get code</kbd> next to the **Website embed** option.
{% endstep %}

{% step %}

### Copy code

Click <kbd>Copy code</kbd> in the Website embed modal.&#x20;
{% endstep %}

{% step %}

### Paste code

Paste the code snippet into your website builder.
{% endstep %}
{% endstepper %}

## Popout Tab Embed <mark style="color:blue;">(Coming Soon)</mark>

Embed your Interactively demo on a webpage as a pop-out tab. When a user clicks it, Interactively will open the share page, displaying your demo in full-screen mode. After viewing, users can click <kbd>Done</kbd> to return to your website.


---

# 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://interactively.gitbook.io/interactively-docs/share/website-embed.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.
