How To

How to Add an AI Chatbot to a Squarespace Site

A step by step guide to installing an AI chatbot on Squarespace with code injection, which plans support it, the per-page alternative, and the mistakes that keep the widget from loading.

Stan

Stan

@stan

How to Add an AI Chatbot to a Squarespace Site

Squarespace runs 2.5 percent of all websites, which sounds modest until you remember what those sites are: portfolios, studios, restaurants, consultancies, and small stores, the exact businesses that cannot afford to staff a support inbox but lose customers when questions go unanswered. Among sites built on a content management system, Squarespace holds a 3.5 percent share, fourth among the major platforms, according to W3Techs survey data from July 2026.

Hosted Website Builders: Share of All Websites

Squarespace is the third most used hosted builder on the web, ahead of Webflow and behind Shopify and Wix.

Source: W3Techs Web Technology Surveys, July 2026. Percentages are of all websites, including sites that use no CMS.

Installing an AI chatbot on Squarespace is one of the shortest platform installs there is: a single script tag pasted into one panel. But Squarespace hides that panel behind a plan tier, offers two different injection scopes that behave differently, and only runs the code on specific page types. This guide walks through the whole process, the plan requirement first, because it decides whether the rest of the article applies to you at all.

The Plan Requirement That Decides Everything

Squarespace only exposes custom code features on its higher plans. According to Squarespace's own documentation, code injection is available on the Core, Plus, and Advanced plans, along with some legacy plans (on older billing structures, this was the Business plan and above). The entry-level plan does not include it.

This is a platform rule, not a chatbot vendor rule. Every third-party script, whether it is analytics, a booking widget, or a chat bubble, needs the same feature. If you are on the entry plan and weighing the upgrade, it helps to price it against what the chat widget replaces: chat conversations convert at four to seven times the rate of contact forms, so for most businesses a single extra converted visitor per month covers the plan difference.

What You Need Before You Start

  1. A trained chatbot. The widget is only as useful as what the bot knows. Create your chatbot and train it on your own business data first, most easily by letting it crawl your published Squarespace pages, so your site content becomes the knowledge base automatically.
  2. A Squarespace plan with code injection. Core, Plus, or Advanced, as covered above.
  3. Your domain on the allowed list. In the Paperchat dashboard, open your chatbot's Setup tab and add your Squarespace domain under Allowed Domains. Include the built-in squarespace.com subdomain as well as your custom domain, so the widget loads while you test. The widget refuses to load on domains you have not authorized, which prevents anyone else from embedding your bot at your expense.

Step 1: Copy Your Embed Code

In your Paperchat dashboard, open your chatbot's Embed tab. The HTML option gives you the complete integration in one line:

The Paperchat embed tab with the single script tag ready to copy

<script async src="https://www.paperchat.co/widgets/livechat/v1.js" data-paperchat-id="YOUR_CHATBOT_ID"></script>

Copy it with your real chatbot ID. Everything from here is telling Squarespace where to put it.

Step 2: Add the Code with Sitewide Code Injection

  1. From your Squarespace dashboard, open Settings.
  2. Go to Developer Tools (labeled Advanced on some older accounts), then Code Injection.
  3. You will see fields for Header and Footer. Paste the snippet into the Footer field.
  4. Click Save.

The footer choice is deliberate. Code in the footer field is injected at the end of the page body, so your content renders first and the chat widget loads after. Because the script tag also carries the async attribute, the browser fetches it in parallel without pausing anything else. A chat bubble that appears a beat after the page paints costs you nothing; a script that delays your hero image does.

Squarespace Help Center documentation for the code injection feature
Squarespace documents code injection as a premium feature for Core plans and above — Image: Squarespace Help Center

The Per-Page Alternative

Squarespace also supports code injection scoped to a single page, which is useful when you want the chat widget only on a pricing page, a contact page, or a landing page you are testing:

  1. Open the Pages panel.
  2. Hover over the target page and click the gear icon.
  3. Select Advanced, then paste the snippet into Page Header Code Injection.

Two notes on this path. First, page header injection places the script in the page's <head> rather than the footer; the async attribute keeps it from blocking rendering, so the practical difference is negligible. Second, if you use per-page injection, leave the sitewide footer field empty. Running the snippet twice on the same page loads two widgets into the same corner.

Sitewide footer injectionPer-page header injection
Where it livesSettings, Developer Tools, Code InjectionPages panel, gear icon, Advanced
CoverageEvery pageOnly the pages you choose
Best forSupport and sales coverage across the siteTargeted campaigns, single landing pages
Risk to avoidNone specificDouble-loading if combined with sitewide
Plan requiredCore, Plus, or AdvancedCore, Plus, or Advanced

For most businesses, sitewide is the right default. Visitors ask questions everywhere, not just on the contact page, and proactive coverage across the site captures more leads than a widget hidden on one URL.

Step 3: Verify It Is Live

Open your site in a fresh incognito tab and give it a couple of seconds. The chat bubble should appear in the bottom corner. Then test it the way a customer would: ask a question your site actually answers ("do you take weekend appointments," "what is your refund policy") and confirm the reply draws on your real content rather than generic filler.

If the answers feel thin, that is a training problem rather than an installation problem. The bot only knows what you have given it, and the difference between a live chat widget and an AI chatbot that actually resolves questions is entirely in the knowledge base behind it.

Troubleshooting

SymptomLikely causeFix
No Code Injection option in SettingsEntry-level planUpgrade to Core or higher
Widget missing on the live siteSnippet in the wrong field or not savedConfirm it is in the Footer field and saved
Widget flashes, then disappearsDomain not on the allowed listAdd your Squarespace domain in the chatbot's Setup tab
Two chat bubblesSitewide and per-page injection both activeRemove one of the two
Widget shows but answers are genericNo training sources ingestedAdd your site URL and documents, wait for training to finish
Widget works on the built-in domain but not the custom oneCustom domain missing from the allowed listAdd both domains

The Bottom Line

On a plan with code injection, adding an AI chatbot to Squarespace takes about five minutes: copy one script tag, paste it into Settings, Developer Tools, Code Injection, Footer, save, and test in an incognito window. The plan gate is the only real obstacle, and it applies equally to every embedded tool on the platform.

The same one-tag pattern works nearly everywhere: we have step by step versions of this guide for WordPress and Wix as well, and the general version for any platform is in our guide to adding a live chat widget to your website.