How to add an AI chatbot to Squarespace
Squarespace has a Code Injection panel built for exactly this. Paste your snippet into the Footer field under Settings → Advanced → Code Injection and it appears site-wide. You need a Business plan or higher — Personal plans cannot run custom code.
Where it goes
Settings → Advanced → Code Injection → Footer
Availability: Business plan or higher. Code Injection is not available on Personal plans.
Adding the chatbot to Squarespace
- 1
From your Squarespace dashboard, open Settings.
- 2
Go to Advanced → Code Injection.
- 3
Paste your RubyRep snippet into the Footer field.
- 4
Click Save.
- 5
Visit your live site to confirm the launcher appears.
The snippet you paste
<script src="https://rubyrep.com/rubyrep.js" data-rubyrep="rr_your_public_key" defer></script>Your own key replaces rr_your_public_key — you get it after training RubyRep on your site.
Worth knowing on Squarespace
Code Injection requires a Business plan or above. On Personal, the panel is hidden entirely.
Custom code does not run in the Squarespace editor preview — check the live site.
Squarespace checkout pages do not run injected code, so the widget will not appear there.
If you use a cover page as your homepage, injected code does not run on it.
Squarespace questions
- I don't see Code Injection in my settings.
- You are on a Personal plan. Code Injection unlocks on Business and above — that is a Squarespace restriction.
- Will it appear on every page?
- Yes, footer injection is site-wide. The exceptions are checkout and cover pages, which Squarespace excludes from custom code.
Related
tool
Website support score
Scores a website on how well it could support customers — and how well an AI representative trained on it would perform. Five dimensions, a total out of 100, and the specific gaps behind the score.
guide
How to add an AI chatbot to your website
Adding an AI chatbot takes minutes. Making it answer correctly takes preparation. This covers what to check before you install anything, how installation actually works, and the three failure modes that make businesses take chatbots back down.
Get your snippet.
Enter your Squarespace site and RubyRep reads it, builds your representative, and hands you the exact line to paste.
Using something else? See all platforms.