# Shopify

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

1. Login and goto Admin dashboard
2. Select "Online Store" > Pages (Choose the pages you want to add)
3. Once the page opens, look for a small “< >” source code icon at the top-right of the content editor and click it.
4. Now, paste your WotNot chatbot code into the HTML code area.\
   After pasting it, click the Save button.

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

5. Click the source code icon again to go back to the normal editor view. You should now see a preview of your chatbot on the page.
6. Your chatbot is now added to your Shopify site!


---

# 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/shopify.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.
