> For the complete documentation index, see [llms.txt](https://help.wotnot.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.wotnot.io/deploy/publishing-agents/website/shopify.md).

# 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
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, and the optional `goal` query parameter:

```
GET https://help.wotnot.io/deploy/publishing-agents/website/shopify.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
