You can add an AI chatbot to a Squarespace site by pasting one embed snippet into Settings, then Advanced, then Code Injection, in the Footer box. Code injection is not on every Squarespace plan, so check which plans include it first. The AI agent itself is built and trained outside Squarespace, on a no-code platform like Dante AI, so it answers visitors from your own pages and documents instead of a script.
Key takeaways
- An AI agent trained on your own pages and files is added through Squarespace's Code Injection panel, which lets you add HTML and scripts to your site.
- You need a Squarespace plan that includes code injection; Squarespace's help center lists which plans do.
- The agent is trained on your public pages, plus any files, text or Q&A pairs you add.
- One snippet in the Footer box puts the AI agent on every page; edits to the agent later need no repaste.
- You can build and test the agent on Dante AI's Free plan before you pay for anything.
In this article
Can you add an AI chatbot to Squarespace?
Yes. Squarespace's code injection lets you add HTML and scripts to your site, which is how an AI chat widget is added. Code injection lets you add a snippet to the header or footer of every page on your site. A chat widget belongs in the footer, so it loads after your content and does not hold up the page.
The intelligence does not live inside Squarespace. You create the AI agent on a separate platform, point it at your Squarespace site so it can read your pages, and Squarespace only has to display it. That split is why there is no app to install and nothing to rebuild when your content changes. For the general version of this process on any website, see how to add an AI agent to your website.
Which Squarespace plans allow a chatbot?
The deciding feature is code injection. Squarespace does not include it on every plan, and plans change, so check the current list on Squarespace's code injection help page before you pick or upgrade a plan. The same page explains where on your site injected code can and cannot run.
Squarespace's prices vary by country and billing period, so check the current figures on Squarespace's pricing page.
How do you add an AI chatbot to Squarespace, step by step?
- Create your AI agent. Start free on Dante AI and enter your Squarespace site's address. Dante AI reads your public pages and follows internal links on the same domain. Your site is never changed.
- Test the answers. Ask the questions your visitors ask, such as prices, opening hours, booking or delivery. Add anything missing as a file, text or Q&A pair.
- Open the Install tab. In your agent's Publish page, choose the Install tab and keep the embed type on Floating, which adds a launcher button to the bottom right corner of every page.
- Lock the snippet to your domain. Add your site's hostname, for example example.com, under Allowed domains so nobody else can run your snippet on their site.
- Copy the embed code. Click Copy embed code.
- Paste it into Squarespace. In Squarespace open Settings, then Advanced, then Code Injection. Paste the code into the Footer box and save.
- Check it is live. Open your site in a private window. Back in Dante AI, the status card on the Install tab changes to "Your AI agent is live" once a real visitor loads a page with the snippet.
After this, changes to the agent's look, knowledge or behaviour reach your site on their own the next time a visitor opens the chat. You only repaste the snippet if you rotate the widget key.
How do you put the chat on one Squarespace page only?
If you want the AI agent on a single page, such as Contact or FAQ, use the Script embed instead of Floating. It places the chat inside the page as a panel. On Squarespace, pasting the Script snippet into a code block on that page should work if your plan allows scripts in code blocks, but our install guide does not cover this route yet, so test it: publish, then open the page in a private window and send a message. Squarespace's code blocks help page explains what code blocks can run on your plan. If it does not load, the Footer route above is the supported one.
What should a Squarespace chatbot be trained on?
An AI agent is only as good as what it has read. On a typical Squarespace site, start with:
- Service, product and pricing pages. What you offer and what it costs, in your words.
- FAQ, shipping and policy pages. The answers visitors otherwise email you for.
- Files that are not on the site. Menus, price lists, brochures and guides as PDF, Word or spreadsheet files.
- Q&A pairs. Short exact answers for questions you want worded a certain way.
One Squarespace detail matters here. Dante AI's crawler skips common low-value paths such as /blog by default, so generic posts do not drown out your core pages. If your useful content lives under /blog, add that address as its own source and it is read normally. The first crawl also reads a capped set of core pages rather than the whole site; you can add more pages from the Knowledge screen any time. Our guide on how to train an AI agent on your own data covers the full loop.
Should a Squarespace site use an AI chatbot or a contact form?
Most sites keep both. They do different jobs, whichever form tool you use:
| A contact form | AI agent from Dante AI | |
|---|---|---|
| Answers a question on the spot | No, someone replies later | Yes, from your pages and files, at any hour |
| Collects name and email | That is its main job | Yes, with lead capture on Advanced and Pro |
| Hands a visitor to your team live | Not on its own | Yes, with Human Handover on Advanced and Pro |
| Shows you what visitors ask | Only the messages people choose to send | Popular topics on any paid plan; top questions and knowledge gaps on Advanced and Pro |
A form suits a visitor who already knows they want to contact you. An AI agent suits the larger group who have one question first. For a closer look, see AI agent vs contact form for lead capture.
What does a Squarespace chatbot cost?
There are two parts: a Squarespace plan that includes code injection, and the AI agent itself. Dante AI's plans are below; the pricing page always has the current figures.
| Dante AI plan | Price | Credits a month | Notable for a Squarespace site |
|---|---|---|---|
| Free | $0 | 100 | 1 AI agent, website embed |
| Starter | $40/mo ($33.33/mo yearly) | 2,000 | All AI models, analytics, Zapier |
| Advanced | $120/mo ($100/mo yearly) | 8,000 | Lead capture, Human Handover, Dante branding removed |
| Pro | $400/mo ($333.33/mo yearly) | 30,000 | 10 AI agents, API access, daily knowledge updates |
Worked example. A studio site that gets about 300 visitor questions a month uses about 300 credits on the default model, which costs 1 credit per reply. That is more than Free's 100, so Starter at $40 a month covers it with room to spare. If the studio wants enquiries saved as leads and a person to take over tricky chats, Advanced at $120 a month adds both. See the pricing page for full details, or our free AI agent guide for what the Free plan includes.