Skip to main content
SuperBot
Start free

open-source ecommerce

AI chatbot for Spree Commerce

Spree Commerce is a Rails codebase you own, so SuperBot goes in the way any script does: in the storefront layout, or through the custom code setting that Spree 5 added to the admin. No gem, no engine, and nothing tied to your Spree or Rails version.

  • Free forever plan
  • No credit card
  • Every feature on every plan

Install

How to add SuperBot to Spree Commerce

A layout change your team deploys like any other, or a paste into Spree 5's custom code setting.

  1. 01

    Create your workspace

    Create a free SuperBot workspace and copy the embed snippet.

  2. 02

    Add storefront pages

    Add the URLs of your shipping, returns, and FAQ pages, plus the product pages people ask about.

  3. 03

    Admin setting or layout

    On Spree 5, paste the snippet into the admin's custom code setting for the storefront body; on older or heavily customised storefronts, add it before </body> in your storefront layout.

  4. 04

    Deploy the change

    Deploy through your usual pipeline, precompiling assets if your setup needs it.

  5. 05

    Test Turbo navigation

    Click from a product page to the cart and back to confirm the launcher stays through Turbo navigation, then review the first answers.

Where it goes on Spree Commerce

  1. Storefront layout
  2. Before </body>

Before </body> in the layout your storefront renders, or in the custom code setting Spree 5 adds to the admin. Deploy as usual and precompile assets if your pipeline requires it.

Paste before </body>Your account fills in the site ID
<script id="superbot-web-script"
  data-site-id="YOUR_SITE_ID"
  data-api-base="https://superbotapp.ai"></script>
<script src="https://superbotapp.ai/widget/web/superbot-web.js" async></script>

This is the whole install on a Spree Commerce site — your account gives you the exact snippet with your site ID.

Before you launch on Spree Commerce

What it answers, what it hands off, what to watch.

Answers on its own

  • Product and variant questions from the pages you add.
  • Shipping and returns from your policy pages.
  • B2B and wholesale enquiries, captured as leads with the conversation attached.

Goes to your team

  • Order status. SuperBot does not connect to Spree's order API.
  • Anything specific to a customer's account.

Spree Commerce gotchas

  • Spree 5's Rails storefront uses Turbo, which swaps the page body on navigation. Test by clicking between pages, not only by reloading, and email [email protected] if the launcher drops out.
  • Headless storefronts, such as a Next.js front end on the Spree API, need the snippet in that front end's root layout rather than in the Rails app.
  • A Content-Security-Policy configured in Rails must allow superbotapp.ai for scripts and connections.
  • On older Spree versions, a Deface override can inject the snippet without forking the layout view.

On Spree Commerce

What it does on a Spree Commerce site.

No store connection needed for any of this — it runs from the content you add, on every plan.

Every feature

Grounded answers

Answers from your own store content — with the source shown.

Trained answers first, then the Spree storefront pages you added. No gem reads your database; the agent only knows what you give it.

35 languages

Speaks your visitor's language.

Detects the language and replies in it — from the same approved answers.

Bookings

Meetings, booked in chat.

Offer open times and confirm the booking without sending anyone to another page.

Leads & CRM

Every visitor can become a lead.

Capture contact details mid-conversation and send them to HubSpot, Salesforce, Pipedrive or Slack.

Shared inbox

Humans step in with full context.

Assign, prioritise and reply from one inbox — no customer repeats themselves.

Practical workflows

What the agent handles on a Spree Commerce site.

Support without a sprint

Give a small team AI support without building, reviewing, or upgrading a Spree extension for it.

Variant and spec questions

Answer option, size, and specification questions from the product pages you added.

Wholesale leads to a webhook

Route B2B requests to an HTTPS webhook your Rails app already listens on, with the full conversation attached.

Why it works on Spree Commerce

Why a snippet beats an extension on Spree.

  • No gem in your Gemfile, so Spree and Rails upgrades never wait on us.
  • Runs in the browser from SuperBot's servers, adding no load to your Rails app or database.
  • Works the same on the Rails storefront and on a headless front end.
  • Leads and escalations can go to a webhook, so they fit whatever your team has already built.

FAQ

Questions Spree Commerce site owners ask.

Something else about your setup? Talk to a human — a real person reads every message.

Is there a Spree extension to install?

No, and that is deliberate. SuperBot is a client-side snippet, so there is no gem to keep compatible with your Spree or Rails version.

Where does the snippet go on Spree 5?

Either in the admin's custom code setting, which Spree 5 provides for head, body, and checkout snippets, or before </body> in your storefront layout if your team prefers it in code.

Does it work with a headless Spree storefront?

Yes. Add the snippet to the root layout of whatever front end renders your storefront; the widget does not care what serves the HTML.

Will it affect my Rails app's performance?

No. Nothing runs server-side - the widget is loaded by the browser from SuperBot's servers.

Other platforms

Same agent, other platforms.

See every platform

Start answering Spree Commerce visitors today.

Free forever up to 200 conversations a month. Starter is $25/month for 2,000, Pro is $60/month for unlimited — every feature is on every plan.