How to add an AI chatbot to Bubble

On Bubble, a chat widget is installed through Settings → SEO / metatags → Script in the body. Development and live are separate; deploying is a distinct step. Custom code is gated: Custom code requires a paid Bubble plan.

Where it goes

Settings → SEO / metatags → Script in the body

Availability: Custom code requires a paid Bubble plan.

Adding the chatbot to Bubble

  1. 1

    Open your app, then Settings, then the SEO / metatags tab.

  2. 2

    Find the Script/meta tags in body section.

  3. 3

    Paste the snippet.

  4. 4

    Deploy to live to apply it outside the development version.

  5. 5

    Development and live are separate; deploying is a distinct step.

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 Bubble

  • Bubble apps are single-page — the widget mounts once and survives page navigation.

  • Changes apply to the development version first; the live version needs an explicit deploy.

Bubble questions

Where does the code go on Bubble?
Settings → SEO / metatags → Script in the body. Development and live are separate; deploying is a distinct step.
Do I need a paid Bubble plan?
Custom code requires a paid Bubble plan.
Will a Bubble update remove it?
Bubble apps are single-page — the widget mounts once and survives page navigation.
Does it slow Bubble down?
No measurable effect. The snippet is deferred, so it loads after your page has rendered, and the chat interface itself is only fetched when a visitor opens it.

Related

Get your snippet.

Enter your Bubble 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.