For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Embed the chat bubble in BigCommerce

Embed the eesel AI chatbot on your BigCommerce storefront with Script Manager, without editing your theme.

The eesel chat bubble puts your AI agent on every page of your BigCommerce storefront. It answers shoppers from your store and your connected knowledge. On BigCommerce the snippet goes into Script Manager, so you never edit your theme files.

Using Claude Code, Codex or Cursor? Ask it to add the chat bubble to BigCommerce with eesel CLI. Point it to the setup guide.

Using Claude.ai or ChatGPT? Use the eesel connector (MCP). See Claude and other assistants or ChatGPT. If the eesel connector is already linked to the correct workspace, keep using it. For steps it cannot complete, use the dashboard.

CLI details for your coding tool: After selecting your workspace and connecting your store’s website content, run npx @eesel/cli init chat-bubble --site https://your-store.com --json. This also works for a new anonymous trial. Paste the returned snippet into Script Manager below. A BigCommerce admin must save the script and approve any store connection. Once the content is ready, test a product question on the storefront. You can also get the code from the dashboard.

Before you begin

  • Set up a chat bubble in eesel first. Use the CLI receipt above, or ask your agent in the dashboard chat for a chat bubble on your store, then open Integrations > Chat Bubble and click Copy code. See Chat Bubble.

  • Connect BigCommerce, so the bubble can look up orders and products.

  • You need a BigCommerce user who can open Storefront > Script manager.

Add the snippet in Script Manager

1

Open Script manager

In your BigCommerce control panel, open Storefront in the left sidebar and click Script manager.

The BigCommerce control panel with Storefront expanded and a callout on Script manager
Script manager, under Storefront.

Click Create a script.

The empty Script Manager page with a callout on the Create a script button
Script Manager, before any script is added.
2

Fill in the script settings

Name the script, for example "eesel chat bubble". Set Placement to Footer and Location to Storefront pages.

The Create script form with callouts on the script name, Placement set to Footer, and Location set to Storefront pages
The name, placement and location.

Footer loads the bubble after the page itself, so it does not slow the store down. Storefront pages covers the shop. Checkout and Order confirmation are separate locations. Pick All pages instead if you want the bubble on those too.

3

Paste the snippet and save

Scroll down. Set Script type to Script, and paste your eesel snippet into Script contents. Click Save.

Further down the Create script form, with callouts to set Script type to Script, paste the eesel snippet into Script contents, and click Save
The script type and the pasted snippet.

Paste the snippet you copied from eesel as it is. It already holds your own trigger id. The shape is below, with YOUR_TRIGGER_ID where your id sits:

<script>
(function(){
  var script = document.createElement('script');
  script.src = 'https://cdn.eesel.ai/loader.js';
  script.async = true;
  script.onload = function() {
    if (window.EeselWidgetWithTrigger) {
      window.EeselWidgetWithTrigger({ triggerId: 'YOUR_TRIGGER_ID' });
    } else {
      window.__EESEL_WIDGET_V2_CONFIG__ = { EESEL_TRIGGER_ID: 'YOUR_TRIGGER_ID' };
    }
  };
  document.head.appendChild(script);
})();
</script>

Script category. The form also asks for a Script category. Pick Functional, which BigCommerce describes as live chat. If your store shows a cookie consent banner, a shopper who declines Functional cookies does not see the bubble. That is the shopper's choice to make, so keep it on Functional rather than Essential: Essential is for scripts the store cannot work without, and it would load the bubble past a shopper who said no.

4

Check it is installed

The script now shows under Installed scripts, with its location and placement. The bubble is live on your storefront from that save.

Script Manager listing the eesel chat bubble script with Location Storefront pages, Placement Footer and Type User created
The installed script in Script Manager.

Check it worked. Open your storefront and reload it. The bubble sits in the bottom corner. To remove it, open the ... menu on the script row and delete it.

Troubleshooting

The bubble does not appear on the storefront?

Check the script is listed in Script manager, and that its location covers the page you are on. Checkout and order confirmation pages need All pages. If your store has a cookie banner, check the shopper accepted the script's category. Then check the chat bubble automation is still on in eesel.

A settings change is not showing on the storefront?

Saved chat bubble settings reach a live bubble in about 30 seconds. You never need to paste the snippet again.

FAQ

Do I need to edit my BigCommerce theme to add the chat bubble?

No. Script Manager adds the snippet to every storefront page without touching your theme files, and it keeps working when you change or update your theme.

Can the chat bubble look up a shopper's BigCommerce order?

Yes, once BigCommerce is connected. Your agent looks the order up live by its number or the shopper's email.

Last updated