# Embed Mode

### Overview

You can deploy a simulation by embedding a simulation on a website. The simulation must be public in order to enable this feature.&#x20;

## Steps

1. Make the simulation public by checking the "Public" option when saving. Note the 36 character ID in the public link. Example: 123e4567-e89b-12d3-a456-426614174000
2. Copy the following HTML code into your web page and replace the public link in the code with the public simulation ID.&#x20;
3. Adjust the width and height to fit the iframe properly.

<pre class="language-html" data-full-width="false"><code class="lang-html">&#x3C;iframe 
    src="https://master.d1ubi6rqugpq1b.amplifyapp.com/?embed=true&#x26;simPublicId=<a data-footnote-ref href="#user-content-fn-1">123e4567-e89b-12d3-a456-426614174000</a>" 
    title="HyperSkill"
    width="600"
    height="400">
&#x3C;/iframe>
</code></pre>

[^1]: Replace this ID


---

# Agent Instructions: 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:

```
GET https://docs.siminsights.com/publish/embed-mode.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
