How to add an AI chatbot to Notion sites

On Notion sites, a chat widget is installed through A hosting layer such as Super or Potion, not Notion itself. Follows the hosting tool's publish model. Custom code is gated: Depends on the hosting layer; most require a paid plan for custom code.

Where it goes

A hosting layer such as Super or Potion, not Notion itself

Availability: Depends on the hosting layer; most require a paid plan for custom code.

Adding the chatbot to Notion sites

  1. 1

    Notion's own published pages do not accept custom code.

  2. 2

    If you publish through Super, Potion or a similar host, open that tool's site settings.

  3. 3

    Find its custom code or code injection field and paste the snippet there.

  4. 4

    Republish through that tool.

  5. 5

    Follows the hosting tool's publish model.

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 Notion sites

  • A raw notion.site URL cannot run custom code at all — this needs a hosting layer in front.

  • Notion content is client-rendered by these hosts, so the widget should not wait on page content.

Notion sites questions

Where does the code go on Notion sites?
A hosting layer such as Super or Potion, not Notion itself. Follows the hosting tool's publish model.
Do I need a paid Notion sites plan?
Depends on the hosting layer; most require a paid plan for custom code.
Will a Notion sites update remove it?
A raw notion.site URL cannot run custom code at all — this needs a hosting layer in front.
Does it slow Notion sites 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 Notion sites 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.