> For the complete documentation index, see [llms.txt](https://docs.deepconverse.com/product-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.deepconverse.com/product-docs/chatbots/deploy/adding-widget-to-your-website.md).

# Adding widget to your website

You can add the chatbot to your website by following the steps below.&#x20;

1. Open the Chatbot that you are planning to add to your help center
2. Navigate to the **Settings** > **Deployment** and copy the snippet for your chatbot.\
   \&#xNAN;*Note: You can toggle between the **draft** and **published** version* <br>

   <figure><img src="/files/N7zXs4FVVUWZ5Qkk3NEQ" alt=""><figcaption></figcaption></figure>
3. Next, add the script tag to the `head` or the `body` tag of the webpages you want the chatbot to be shown\
   \
   Navigate to the webpage you will now be able to see the chatbot appear.

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

### Note

The chatbot script is by default configured to always show the widget. In cases you want to customize when the widget shows and metadata refer to the article below.

{% content-ref url="/pages/rdwNMVg3tSR3j5x4PYmA" %}
[Custom Initialization and Passing Metadata](/product-docs/chatbots/deploy/custom-initialization-and-passing-metadata.md)
{% endcontent-ref %}

<br>


---

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

```
GET https://docs.deepconverse.com/product-docs/chatbots/deploy/adding-widget-to-your-website.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.
