# Web

### Step 1: Enter the domain name <a href="#step-1-enter-the-domain-name" id="step-1-enter-the-domain-name"></a>

Goto Channel Configuration > Web > Configuration

Here, enter the domain where you want to launch your chatbot.

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

**Each wotSABot account only supports one domain**.

**Sub-domains are allowed**. Like blog.wotsabot.ai, app.wotsabot.ai etc.

### Step 2: Paste the code snippet on your website <a href="#step-2-paste-the-code-snippet-on-your-website" id="step-2-paste-the-code-snippet-on-your-website"></a>

Copy the JS Snippet provided in this section, and paste it anywhere in your website's code between the \<body> ... \</body> tags.

You must include the snippet on every page you want your Chatbot to appear on.

**If you DO NOT see your bot live:**

* Check if the bot status is "Active" i.e. switch is turned on.
* Check if your bot has a deployed version. If not, deploy it once.

***

### Installing using Google Tag Manager <a href="#installing-using-google-tag-manager" id="installing-using-google-tag-manager"></a>

If you use Google Tag Manager for all JS, follow these steps:

1. Open Google Tag Manager
2. Click “Add a new tag”
3. Under “Tag Configuration” choose “Custom HTML”
4. Paste the JS snippet in this section
5. Under “Triggering” choose “All pages”
6. Click “Save”
7. Publish this tag

***

### Installing on SquareSpace <a href="#installing-on-squarespace" id="installing-on-squarespace"></a>

#### Installing on a single page <a href="#installing-on-a-single-page" id="installing-on-a-single-page"></a>

In-order to embed the bot on single page, you can follow the following steps;

1. Go to 'Channel Configuration -> Web -> Configuration'
2. Copy the wotSABot 'Code Snippet'
3. Go to desired page where you want to embed the bot
4. Hover and select the page setting (menu gear against the page name)
5. Under the page settings screen, select 'Advanced'
6. Click on 'Page Header Code Injection'
7. Paste the snippet in the block editor
8. Click on 'Save' to apply changes

#### Installing on the entire website <a href="#installing-on-the-entire-website" id="installing-on-the-entire-website"></a>

In-order to embed the chatbot on entire website, you can follow the following steps;

1. Go to Settings > Advanced > Code Injection
2. Scroll down until you see 'Footer' section
3. Paste the wotSABot code snippet in the 'Footer' section

***

### Installing on WordPress <a href="#installing-on-wordpress" id="installing-on-wordpress"></a>

Follow these steps:

1. Install the "wotSABot plugin" on your WordPress account
2. Activate the wotSABot plugin
3. Copy and paste the wotSABot code snippet
4. Click 'Save'


---

# 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.wotsabot.ai/wotsabot-help-articles/publishing-your-bot/web.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.
