How to add an AI chatbot to HubSpot CMS
HubSpot CMS applies custom scripts through Settings → Website → Pages, in the site footer HTML field. Setting it at the domain level covers every page and template at once, rather than editing individual templates.
Where it goes
Settings → Content → Pages → Site footer HTML
Availability: HubSpot CMS Hub. Requires publishing access to website settings.
Adding the chatbot to HubSpot
- 1
In HubSpot, open Settings and go to Content → Pages.
- 2
Select the Templates tab, then find Site footer HTML.
- 3
If you run multiple domains, pick the domain first so the change applies where you expect.
- 4
Paste your RubyRep snippet into the site footer HTML field.
- 5
Save and open a live page 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 HubSpot
Setting footer HTML per domain matters if you host several sites in one HubSpot account — the default applies to all of them.
Individual templates can override site-wide settings; if the widget is missing on one page, check that template.
HubSpot has its own chat tool. Running both means two launchers competing for the same corner — pick one, or move RubyRep to the opposite side.
HubSpot questions
- Can I run this alongside HubSpot's own chat?
- Technically yes, but two launchers in the same corner is a poor experience. If you keep both, set RubyRep's launcher to the opposite side in the widget settings.
- Will it write to my HubSpot CRM?
- No. RubyRep answers questions and hands off through the contact routes you configure. It is deliberately not a CRM and does not write records.
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.
industry
AI customer support for SaaS companies
SaaS support is dominated by questions your documentation already answers: what a plan includes, whether a feature exists, how an integration works. RubyRep reads your docs, pricing and changelog and answers those on the site, so trial users get unblocked in seconds instead of waiting on a ticket.
Get your snippet.
Enter your HubSpot site and RubyRep reads it, builds your representative, and hands you the exact line to paste.
Using something else? See all platforms.