How to add a chatbot to Squarespace
ChatAgents is an AI chatbot builder that can address customer concerns, set appointments, answer account-related questions, generate leads, log internal requests, and more.
Create a fully-functional AI chatbot with our $0 plan (free forever).
Adding a chatbot to your website is one of the easiest ways to keep visitors engaged and help them find what they need. For brands that want to make the most of their web traffic, it’s a simple upgrade with a big impact.
If you’re using Squarespace, placing a chatbot on your site takes just a few minutes. All you need to do is add your chatbot’s embed code to Squarespace’s built-in Code Injection panel.
What you’ll need
Before getting started, make sure you have:
-
A live Squarespace site with access to Settings → Advanced → Code Injection
-
Your chatbot’s embed code
Get your chatbot embed code
This section will vary depending on your chatbot builder. In this guide, we'll teach you how to get to your embed code in ChatAgents.
- In your dashboard, go to Agent Channels > Website.
- Toggle on Enable Embed.
- In the Embed Code section, click Copy.
This snippet allows your chatbot to appear on every page of your site once added to Squarespace.
Add the chatbot code to Squarespace
-
In your Squarespace dashboard, go to Settings
-
Scroll down and click Advanced
-
Select Code Injection
-
Paste your chatbot embed code into the Footer section
-
Click Save
Once saved, your chatbot will automatically load on all public-facing pages of your site.
Example screenshot placeholder: Squarespace code injection interface with code in footer
Troubleshooting tips
-
If your chatbot isn’t showing up, make sure your site is published and the code is saved in the Footer, not the Header.
-
Try viewing your site in a private or incognito window to bypass any caching.
-
If your agent appears but doesn’t respond, double-check that it’s active and published in your ChatAgents dashboard.
Why add a chatbot to your website?
A chatbot helps you offer instant assistance, even when your team is offline. It can guide visitors, answer common questions, and collect contact details or bookings. All of this happens while your site is working in the background.
By embedding your chatbot into Squarespace, you create a faster and more helpful experience for every visitor who lands on your site.