Add the Allinaa chatbot to a BigCommerce store

Written by the Allinaa team · Updated

BigCommerce has a place made for exactly this: Script Manager, where a store adds scripts to its storefront pages without editing theme files. The Allinaa assistant is one footer script. This guide follows BigCommerce's own Script Manager article, including its Location field, which is where you decide whether the chat also runs on checkout.

Script Manager, in BigCommerce's words

BigCommerce's help article Using Script Manager says the feature is only available to stores using Stencil themes. You go to Storefront, then Script Manager, create a script, choose its Placement (header or footer; the footer for a chat widget) and its Location, and save. The Location options the article names are Storefront pages (all pages except checkout and order confirmation), Checkout (the checkout page; it only works with Optimized One-Page Checkout), Order confirmation, and All pages (storefront, checkout, order confirmation and the cart page).

Get your code

The line comes from your Allinaa cabinet. After you sign up at bot.allinaa.com/start and approve the knowledge the wizard drafts from your public pages, step 5 of the wizard shows it, and the Overview keeps it under "Website installation":

<script src="https://bot.allinaa.com/widget.js" data-bot-id="your-bot-id" defer></script>

Step by step

  1. In your BigCommerce control panel go to Storefront and open Script Manager. On a store with several storefronts the article places it within Channel Manager.
  2. Create a new script and give it a name you will recognize, such as "Allinaa chat".
  3. Under Placement choose Footer.
  4. Under Location choose Storefront pages, every page except checkout and order confirmation. Choose All pages only if the chat should also run on checkout and the order confirmation page; read the next section first.
  5. Paste your code as the script's content and save.

Two more fields the article describes: Script type, where you say whether you link to a script by URL or enter the script yourself (our code is a complete script tag, so enter it yourself), and Script category (Essential, Analytics, Functional, or Targeting and advertising), which the article says is used by the store's cookie consent banner. Which category fits a chat assistant on your store is your call; check in your platform's help.

Checkout: your choice

Whether the assistant appears on checkout depends on the Location you pick. Storefront pages leaves checkout and the order confirmation page out; All pages includes them, and the article says a script on the checkout page only works with Optimized One-Page Checkout. The article also says that scripts used to customize payment pages must carry at least one integrity hash; the Allinaa script is updated from time to time, so a fixed hash would stop matching it. If that rule applies to a chat script on your checkout, keep the assistant on Storefront pages. Customers ask about delivery, returns and payment on product and cart pages, which both options cover, so put those answers in your approved knowledge. Shopify and Squarespace, by contrast, do not run your code on checkout at all; see the troubleshooting page.

Theme changes

A script is managed in Script Manager rather than in the theme editor. If your store does not run a Stencil theme, the article says Script Manager is not available to it; the theme's footer template is the route then, as in the plain HTML guide.

Check the installation

  1. Open the published site, not the editor, in a private browser window.
  2. Look for the chat button in a bottom corner, then open a second page.
  3. Ask something your approved knowledge covers.
  4. In your Allinaa cabinet click Check my site: it reads your homepage and up to two pages it links to and answers found, not found or unreachable.

Product questions by photo and order questions are described on the online stores page.

Frequently asked questions

Where does the Allinaa code go in BigCommerce?

Storefront, Script Manager: Placement Footer, Location Storefront pages (or All pages), per BigCommerce's Script Manager article.

Does the chatbot appear on the BigCommerce checkout?

Only if you choose the Location All pages or Checkout; Storefront pages leaves checkout and the order confirmation page out. A checkout script only works with Optimized One-Page Checkout, per the article.

Do I need to edit my theme files?

No, not on a Stencil theme. Script Manager adds the script without touching the theme.

Will a theme update remove the chatbot?

Script Manager is a separate screen from the theme editor; BigCommerce's own article does not say what happens to a script when a theme is changed, so check the store after a theme change and in your platform's help.

Try Allinaa free for 14 days

200 AI replies, no card. After the trial, activation is arranged with Allinaa: Standard is $350/month and Premium $800/month, with no setup fee.

Questions? E-mail info@allinaa.com. AI answers can be wrong; each business approves the information its assistant uses.