HomeAdd a widgetSquarespace

Add an AI chat widget to Squarespace

AI Chat Widget for Squarespace

An AI chat agent on every page of your Squarespace site, live with one copy-paste into Code Injection. It answers from your indexed pages and says so when the answer isn’t there.

Needs Squarespace Core, Plus or Advanced (or a legacy Business or Commerce plan)

Free plan with no time limit, no card.

See it working

There is a live one on this page already: the chat button in the bottom corner is a Sorraia AI chat agent — ours, answering from the pages it has indexed on this site and saying so when the answer isn’t there, with the AI disclosure line every chat carries. Open it and ask it something.

How to add an AI chat widget to Squarespace

Use the Footer field of Code Injection, not a Code Block. A Code Block lives on one page, so the launcher would vanish as soon as a visitor moved on; Footer code is injected before </body> on every page, which is where the chat loader needs to run. Both sit behind the same plan gate, Core and up, so the site-wide route costs nothing extra.

  1. In Sorraia, add the website and verify it — a DNS TXT record, or a meta tag in your homepage’s <head>. Verification is what lets you attach a widget to that site, so it comes before there is anything to paste.

  2. Save the agent, then copy the snippet from the Embed code box in the right-hand panel of the chat builder. (Chat has no install wizard — the box is the whole thing.)

  3. In the Pages panel, click Custom Code at the bottom of the panel, then Code Injection. On a 7.0 site the same section is called Website Tools.

  4. Paste the Sorraia snippet into the Footer field — not Header — and Save. Footer code is injected before </body> on every page, which is where the chat loader needs to run.

  5. Squarespace runs no custom code on checkout pages, so the launcher will not appear there; every other page gets it.

  6. Open the live site logged out to check it: while you are logged in, Squarespace sometimes doesn’t show embedded code.

Where these steps come from:12

Verifying a Squarespace site

Add the DNS TXT record if the domain’s DNS is yours to edit. Otherwise paste the meta tag into the Header field of Code Injection, which Squarespace injects into the <head> of every page, the homepage included — on Core or higher, like the widget itself.2

Code Injection is a Core-and-up feature

Squarespace offers Code Injection on Core, Plus and Advanced and on some legacy plans — Business and both Commerce plans include it, legacy Personal does not — and not on Basic. After a downgrade, the code stays in the panel for reference but no longer affects the site.234

Worth knowing for this one

  • If injected code gets in your way while you edit, Squarespace lets you disable scripts in preview and keep working; visitors still get the launcher.2
  • On a 7.0 template with Ajax loading — Brine, Farro, Tremont, York, and Skye’s blog landing page — Squarespace warns that Ajax may conflict with embedded code. Its own fix is to uncheck Enable Ajax loading in Site styles, which Skye doesn’t allow and Farro’s blog landing page ignores.5
  • After a downgrade below Core, the snippet stays in the Code Injection panel for reference but stops applying to the site.3

What Squarespace already has

Squarespace’s own pricing page names live chat services as one of the things code injection is for, on Core and up, so a third-party chat agent is the expected route rather than a workaround. What Squarespace leaves to you is the agent itself. Sorraia’s answers from the pages it has indexed on your site, says so when the answer isn’t there, shows an AI disclosure line in every chat, and comes with 25 conversations a month on the Free plan.6

What’s included

  • Answers from the pages it has indexed on your site
  • Says so when the answer isn’t there
  • An AI disclosure line on every chat
  • 25 conversations a month on Free
  • Live with one copy-paste

Free plan with no time limit, no card.

Questions

Code Block or Code Injection for the chat launcher?

Code Injection, in the Footer field. A Code Block only exists on its own page, so the launcher would disappear on every other page; Footer code is injected before the closing body tag on every page.

Does Squarespace allow a third-party chat widget?

Yes. Its pricing page lists live chat services among the uses of code injection, which runs on Core, Plus and Advanced and some legacy plans, and not on Basic.

Why doesn’t the launcher appear during checkout?

Squarespace runs no custom code on checkout pages, so nothing injected loads there, the chat included. Every other page of the site gets it.

How many conversations does Sorraia’s Free plan include?

25 a month, on a Free plan with no time limit and no card.

What does the agent answer from?

The pages it has indexed on your site. When the answer isn’t there, it says so, and every chat opens with a line telling the visitor they are talking to an AI.

Sources

  1. The Pages panel · support.squarespace.com
  2. Code injection · support.squarespace.com
  3. Premium features · support.squarespace.com
  4. Legacy billing plans · support.squarespace.com
  5. Ajax loading (7.0) · support.squarespace.com
  6. Squarespace pricing · squarespace.com

Each page read and checked on 20 October 2026.

Add an AI chat widget to Squarespace

Build it in Sorraia, put it live on your Squarespace site with one copy-paste, and change it later without touching the embed again.