← Setup guides

How to add a chatbot to your Squarespace site

Squarespace calls its place for site-wide code Code Injection. Paste your code in the Footer section and it loads on every page.

."},{"@type":"HowToStep","position":2,"text":"Open the Pages panel and click Custom Code at the bottom. On older version 7.0 sites, click Website Tools instead."},{"@type":"HowToStep","position":3,"text":"Click Code Injection."},{"@type":"HowToStep","position":4,"text":"Paste your code into the Footer box. The code already includes its

Before you start

Steps

  1. Sign in, open your assistant's Widget page and copy the one line of code shown there. It starts with <script and ends with </script>.
  2. Open the Pages panel and click Custom Code at the bottom. On older version 7.0 sites, click Website Tools instead.
  3. Click Code Injection.
  4. Paste your code into the Footer box. The code already includes its <script> tags.
  5. Click Save.
  6. Open your website in a new tab and look for the chat bubble in the bottom-right corner. Your Widget page shows "Widget live" once it has been seen on your site.

Platform steps checked on September 16, 2026 against Squarespace Help Center: Using code injection

Good to know

Can't edit your website?

Every assistant has its own chat page. Link to it from your website's menu, your Google Business Profile, social media or email signature. Or use "Email this to my web person" on your Widget page to send the code to whoever runs your site.

Questions

Which Squarespace plan includes code injection?

Core, Plus and Advanced, plus some legacy plans. If your plan doesn't include it, link to your assistant's chat page instead.

Should I use the Header or the Footer?

The Footer. It loads just before the end of each page, so your content appears first.

Try it on your own website

Your customers are asking right now

Paste your website and hear your assistant answer as your business. It takes about a minute.

  • No account needed
  • No card
  • Free plan forever

Want the details first? See pricing