> For the complete documentation index, see [llms.txt](https://docs.aisuru.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aisuru.com/en/sharing/publish-your-agent/download-your-agent-as-an-html-page.md).

# Download your Agent as an HTML page

AIsuru can generate a complete HTML page for a sharing layout.

This is useful when you want a ready-to-use page containing the Agent without manually assembling the embed code and the surrounding HTML structure.

### Download the HTML file

To download the page:

1. Open the Agent management panel.
2. Go to **Share**.
3. Select an existing layout or create the layout you want to publish.
4. Locate **Download HTML** for the configured layout.
5. Download the generated file.

### What the file contains

The downloaded file is a complete HTML document that includes the elements required to render the selected Agent experience, including:

* the scripts required by the Agent;
* the CSS styles used by the interface;
* the Agent configuration associated with the selected layout;
* visual customizations derived from the layout settings.

### Ways to use the downloaded page

* Host it as a dedicated page: upload the HTML file to your web server to publish the Agent as a standalone page;
* Load it inside an iframe: you can host the downloaded page and display that page inside an iframe on another website. This is different from AIsuru's standard Web Component embed: in this case the iframe contains the complete HTML page you downloaded.
* Customize the HTML: if you are comfortable editing HTML, CSS, or JavaScript, you can modify the downloaded page and add surrounding content or styles required by your project.

For deeper control over the AIsuru component itself, see Advanced embed and web integration.

### HTML download or embed code?

Use the **embed code** when you already have a web page and want to insert the Agent directly into it.

Use the **downloaded HTML page** when you want a complete page that can be hosted, adapted, or embedded as its own document.
