Skip to content

Integration

Add an AI chat widget to your Squarespace site

Kit is an AI support agent that learns your business from your website and answers your visitors in chat. On Squarespace it goes in one place, Code Injection’s Footer field, and from there it’s on every page except checkout.

Hire KitFree to try. No card needed.

First, two things in Kit

Kit learns your business from your website, and you check its answers before anyone else sees it. Once Kit is live (with a plan, or with Go live free when Kit offers it), open the install code from your dashboard: click Get the install code on the “Put Kit on your website” card if you see it (it carries your agent’s name), or Install code on your Overview. Then, in this order, before you go to Squarespace:

  1. Under Add your website (or Change allowed websites), add your site and click Save allowed websites. Kit answers only on the websites you list, so use the address your visitors see, and include “www” if your site uses it.
  2. Click Copy snippet. Copying unlocks once a website is saved. It’s one line, with your own agent’s ID where this one says your-kit-id:
<script src="https://kit.ai/widget.js" data-bot="your-kit-id" defer></script>

Paste it into Code Injection

  1. Open the Code Injection panel and choose your site.
  2. Paste the snippet into the Footer field. Squarespace adds what’s there before the closing body tag on every page of your site, except checkout pages, which don’t run custom code.
  3. Click Save, then open your site in a private or incognito window to see it as a visitor does.

Code Injection is available on the Core, Plus and Advanced plans and some legacy billing plans. Paste the snippet once: two copies would mean two chat buttons.

If the chat doesn’t show up

  • Use the Footer field, not a Code Block. A Code Block on one page puts code on that page only.
  • Checkout pages don’t run custom code, so the chat won’t appear there. It appears on your other pages.
  • Scripts off in the editor? If custom code gets in the way while you edit, Squarespace’s Disable Scripts in Preview setting turns it off in the editor only. Visitors still see Kit.
  • Check the address. The site in your browser has to match one of Kit’s allowed websites, “www” included.

Squarespace explains Code Injection in its own help article.

Check it, or hand it off

Open your published site in a private window and look for the chat button. If the site was already open, reload it first. Ask it something a customer would ask and wait for the answer. Then go back to Kit and click Check for a visitor reply (it reads Check for a new visitor reply once Kit has a reply on file). Kit shows the latest reply on any of your allowed websites, so check that the website and the time match your test.

If someone else looks after your Squarespace site, find Who looks after your website? next to the install code, choose Someone helps me with my website and click Copy installation instructions: the snippet, where it goes and how to test it, in one message. They won’t need access to your Kit account, and Kit doesn’t send anything for you.

Questions people ask

Which Squarespace plans can add Kit?

Kit goes in through Code Injection, which Squarespace offers on its Core, Plus and Advanced plans and some legacy billing plans.

Does Kit show up on every page?

Code in the Footer field goes on every page of your site. Squarespace’s checkout pages don’t run custom code, so the chat doesn’t appear there.

Do I need a Kit extension for Squarespace?

No. There’s nothing to install from a marketplace. Kit is one line of code in Code Injection’s Footer field.

Get your line of code

Show Kit your website and check its answers. When you’re happy, copy your snippet into Squarespace’s Footer field.

Free to try. No card needed.