> For the complete documentation index, see [llms.txt](https://aibotkit-docs.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aibotkit-docs.gitbook.io/documentation/embedding-your-chatbot/squarespace-integration.md).

# Squarespace Integration

AI Bot Kit can be added to your Squarespace site in just a few steps. Since Squarespace is a visual builder, you don’t need to edit raw code files — you simply use the built-in **Embed Block**.

#### Step-by-Step Setup

1. **Log into Squarespace** and open your site dashboard.
2. Navigate to the page where you want your chatbot to appear.
3. Click **Edit** to enable page editing mode.
4. Hover where you want the chatbot and click **+ Add Block**.
5. From the list of options, choose **Embed**.
6. In the Embed Block, switch to **Code Snippet** view.
7. Paste the AI Bot Kit **embed code** you copied from your dashboard:

```html
<div id="ai-bot-kit-chatbot" data-chatbot-id="XXXXXXXX"></div>
<script src="https://app.aibotkit.io/embed.js" async defer></script>
```

8. Click **Apply** and preview the page to make sure the bot loads correctly.
9. Finally, hit **Save** in Squarespace.

Your chatbot is now live and ready to engage visitors on your Squarespace site.

#### Pro Tips

* If you want the chatbot to appear across your **entire site** (not just one page), go to **Settings → Advanced → Code Injection → Footer** and paste the code there.
* Always preview before publishing, to ensure it doesn’t overlap with other widgets or content.

📘 For a full step-by-step guide with visuals:\
[👉 How to Add AI Bot Kit Chatbot to Squarespace](https://aibotkit.io/blogs/squarespace-chatbot/)


---

# 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://aibotkit-docs.gitbook.io/documentation/embedding-your-chatbot/squarespace-integration.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.
