How to add an AI chatbot to Duda

On Duda, a chat widget is installed through Settings → Head HTML / Body End HTML. Requires republishing. Custom code is gated: Available on all paid Duda plans.

Where it goes

Settings → Head HTML / Body End HTML

Availability: Available on all paid Duda plans.

Adding the chatbot to Duda

  1. 1

    Open the site editor, then Settings, then the HTML section.

  2. 2

    Paste the snippet into Body End HTML.

  3. 3

    Save, then republish the site.

  4. 4

    Requires republishing.

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 Duda

  • Duda serves separate desktop and mobile layouts from one site; site-wide HTML applies to both.

  • Site-level and template-level HTML fields both exist — check which scope you edited.

Duda questions

Where does the code go on Duda?
Settings → Head HTML / Body End HTML. Requires republishing.
Do I need a paid Duda plan?
Available on all paid Duda plans.
Will a Duda update remove it?
Duda serves separate desktop and mobile layouts from one site; site-wide HTML applies to both.
Does it slow Duda 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 Duda 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.