How to add an AI chatbot to Adobe Commerce
On Adobe Commerce, a chat widget is installed through Content → Design → Configuration → HTML Head / Footer. Requires a cache flush before the change is visible. Custom code is gated: Available on Adobe Commerce and Magento Open Source alike.
Where it goes
Content → Design → Configuration → HTML Head / Footer
Availability: Available on Adobe Commerce and Magento Open Source alike.
Adding the chatbot to Adobe Commerce
- 1
In the admin, open Content, then Design, then Configuration.
- 2
Edit the design configuration for the store view you want to change.
- 3
Expand HTML Head for head scripts, or Footer for end-of-body scripts.
- 4
Paste the snippet into Scripts and Style Sheets, or Miscellaneous HTML.
- 5
Save Configuration, then flush the cache from System → Cache Management.
- 6
Requires a cache flush before the change is visible.
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 Adobe Commerce
Design configuration is per store view — a multi-store setup needs the snippet on each, or set it at the default scope.
Full page cache will keep serving the old markup until flushed.
In production mode, static content deployment may need to run before front-end changes appear.
Adobe Commerce questions
- Where does the code go on Adobe Commerce?
- Content → Design → Configuration → HTML Head / Footer. Requires a cache flush before the change is visible.
- Do I need a paid Adobe Commerce plan?
- Available on Adobe Commerce and Magento Open Source alike.
- Will a Adobe Commerce update remove it?
- Design configuration is per store view — a multi-store setup needs the snippet on each, or set it at the default scope.
- Does it slow Adobe Commerce 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
term
What is a website chatbot?
The term covers two very different things. Older chatbots follow scripts and break the moment a visitor phrases something unexpectedly. Modern ones retrieve from a business's own content and generate an answer, which handles arbitrary phrasing.
term
What is AI customer service?
AI customer service means answering customer questions with a language model rather than a person. The useful implementations are grounded in a specific business's own content; the poor ones let a general model improvise, which produces confident answers that are wrong.
guide
How to add an AI chatbot to your website
Adding an AI chatbot takes minutes. Making it answer correctly takes preparation. This covers what to check before you install anything, how installation actually works, and the three failure modes that make businesses take chatbots back down.
how-to
How to add FAQ schema on any website platform
Mark up your existing FAQ answers so search engines and AI assistants can quote them directly. The code is the same everywhere; where you paste it is not. This covers 35 platforms, 19 of which gate custom code behind a paid plan.
how-to
How to add live chat on any website platform
Put a real-time conversation route on every page of your site. The code is the same everywhere; where you paste it is not. This covers 35 platforms, 19 of which gate custom code behind a paid plan.
Get your snippet.
Enter your Adobe Commerce site and RubyRep reads it, builds your representative, and hands you the exact line to paste.
Using something else? See all platforms.