← Setup guides

How to add a chatbot to your Squarespace site

A Squarespace chatbot needs one line of code, and 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 to add your Squarespace chatbot

  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, or bottom-left if you've moved it in Settings. Your Widget page shows "Live on your site" once it has been seen there.

Platform steps checked on October 1, 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.

Does Squarespace have a chatbot?

Not one that answers your visitors. The tools on Squarespace's help page Using Squarespace AI write text, make images and help you edit your site. A visitor chatbot goes in through Code Injection, as in the steps above.

Try it on your own website

Your customers are asking right now

Paste your website and see 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