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. 1

    In HubSpot, open Settings and go to Content → Pages.

  2. 2

    Select the Templates tab, then find Site footer HTML.

  3. 3

    If you run multiple domains, pick the domain first so the change applies where you expect.

  4. 4

    Paste your RubyRep snippet into the site footer HTML field.

  5. 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

Get your snippet.

Enter your HubSpot site and RubyRep reads it, builds your representative, and hands you the exact line to paste.

https://

Takes about a minute. No credit card.

Using something else? See all platforms.