# Embed 2D Chatbox

You can embed your chatbot on your website. It will appear as a launcher in the bottom right corner. You can activate the chatbot and start a conversation by clicking on the launcher.

<figure><img src="/files/63nfZahqvtmsm3tQ6AMx" alt=""><figcaption></figcaption></figure>

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

This step is quite straightforward. Simply follow the instructions to copy and insert the generated JavaScript Snippet into the HTML source code of your website.

If required, you can make further adjustments to the position and stacking order of the chatbot launcher on your website by modifying the 'right,' 'bottom,' and 'z-index' values.

Additionally, you can easily activate or hide your chatbot using the toggle switch provided at the bottom of the page.

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


---

# 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.starrynift.art/starryai-sdk/embed-2d-chatbox.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.
