# Wix

## Step 1: Copy the code snippet

* Goto Settings > Web > Installation
* Enter the domain where you want to launch your chatbot
* Copy the "Widget installation code"

<figure><img src="/files/1hsHi5uGOId5mj081nAw" alt=""><figcaption></figcaption></figure>

## Step 2: Adding the code on Wix

1. Click on the "Design Site" button in the top-right corner to open the Wix Editor.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeh9JOKA0Voz3r6ksGNAwV5JB0z6_yDn8oCH7M-cw0Ef2BMIs0Kcu2SPNIiV3nfCat7SFkkaBvwyv1PHSD0JoPvbmXAOC80132fw3V4UoiZeByeo89eV60K0Jy80Y3YAPxNU5rYaw?key=wyUY9-x1mWHKiucbFcJhly8U" alt=""><figcaption></figcaption></figure>

2. Scroll to the section of your website where you want the chatbot to appear.
3. Click the “+” (Add Elements) button on the left sidebar.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfAdc75ZbbPHCdeFGCSLRzwZB99qRaY7sjVLr1GteTEjhwpsGhG9yuS1B1p2wKhlTsYQzN7t4wyXUIYevRkj3fzB1eIJjbSfX5rZqpKKblZsLo6n6QYKeyOiaDjoLMTMHuUwz4vtQ?key=wyUY9-x1mWHKiucbFcJhly8U" alt=""><figcaption></figcaption></figure>

4. Scroll down and click on “Embed Code”.

   Then select “iTunes Button” and choose “Custom Code”.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdeK5ACLqranXtMH9LNCeHbZaR_s7UAgp3O0LiGCLrSnMxJRTaxEVQ9WXeITEUKqDEjfwu7TKXOq2PWeOtBtSKeooJt1tLppvXh0gWvzyW3EgImRPWldiLNE0I3Lf-8A2r_mIGc0w?key=wyUY9-x1mWHKiucbFcJhly8U" alt=""><figcaption></figcaption></figure>

5. Click on “+ Add Custom Code” in the top-right corner.

   Paste your WotNot chatbot embed code into the code editor.
6. Under “Add Code to Pages”, choose whether to add the chatbot to all pages or select specific ones.

   Under “Place Code In”, select where you want the code to be placed (e.g., “Body - end”).
7. Click "Apply" to save your changes.


---

# 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://help.wotnot.io/deploy/publishing-agents/website/wix.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.
