Squarespace

How to add an AI chatbot to a Squarespace site

To add SLAtech AI to a Squarespace site, paste two lines of code into the Footer field of the Code Injection panel and save. Code there goes before the closing body tag on every page, so the assistant answers visitors across the site, from your own content.

First, copy the code

In the SLAtech AI admin panel, open your site, go to the widget settings, the Embed code tab, and click Copy code. It is two lines: a div carrying your site's widget key, and a script tag that loads embed.js. Copy both together. The key is meant to be visible in the page source: it can ask questions, not change your knowledge base.

Where the code goes in Squarespace

Open the Code Injection panel (in the Pages panel, under Website Tools), paste both lines into the Footer field, and click Save. Code added to the Footer is injected before </body> on every page of the site.

What Squarespace requires

Code injection is available on the Core, Plus and Advanced plans and some legacy plans. Squarespace does not run custom code on checkout pages, so the chat does not appear there. If you list Allowed origins, enter your domain exactly as visitors open it.

Check that it works

Open the live site in a private window. The chat button appears in the corner; ask a question your site answers. The conversation shows up in the admin panel. If the button does not appear: check that the page is published, that both lines were pasted together, and - if you filled in Allowed origins in the site's advanced settings - that every address the site opens on is listed, with and without www, plus the platform's own address if you test there. An empty field allows any.

Frequently asked questions

Do I need a developer to add a chatbot to Squarespace?

No. Copy two lines from the admin panel and paste them where this page shows. Everything else - colour, welcome message, language - is set in the admin panel without touching the code again.

Does the chat work on every Squarespace page?

On every page except checkout, which does not accept custom code. Code in the Footer field applies to the whole site.

How much does it cost?

There is a free plan with no credit card, and paid plans start at $49 a month. The current limits of each plan are on the pricing page.

Get in touch

Leave your details and we will reply. You do not need a sales call to get an answer.