Instruction Video
Before you start
You configure and install the widget from Dashboard > Storefront. The dashboard generates install snippets with your unique widget ID already filled in, so copying them from there is always the most reliable option.
- A storefront channel created in the dashboard. Crawling a website source is optional - see Choose a website mode.
- The storefront connected as a channel to an active AI Agent. Without this, the widget loads but cannot generate replies.
- Access to edit your storefront’s theme or HTML (or a tag manager such as Google Tag Manager).
Choose a website mode
When you create a storefront you enter a Website URL, then pick how Minimal should use it:- Connect and start crawl - Minimal crawls the website and the assistant answers from your page content. You get a sitemap in the Website tab, per-page control over where the widget appears, and auto-generated suggested questions.
- Create without scraping - Minimal skips crawling entirely. The widget runs on every page where you install the script, and the assistant answers from your AI agent’s instructions and knowledge bases.
The Website URL is required either way. It sets the origin the widget is allowed to load on, and it becomes the root URL if you decide to crawl later.
Create without scraping when your product and policy knowledge already lives in your agent’s instructions and knowledge bases, when your site sits behind a login and cannot be crawled, or when you want the assistant on every page without managing a sitemap.
Switch modes later
You are not locked into the mode you picked:- Add a website later - on the General tab, choose Connect a website in the banner at the top. The Website tab appears and you can start a crawl. Crawled pages are active by default, so the widget keeps showing where it already did.
- Drop the website - if you created a storefront for crawling but never connected a source, open the Website tab and choose Continue without scraping.
Installation
1
Add your allowed origins
In Dashboard > Storefront, open the Install section and add every website origin where the widget is allowed to load, for example
https://shop.example.com.The widget only loads on origins you list here. The apex domain and the leading www are treated as the same origin, so example.com and www.example.com are both covered by one entry.2
Install the widget script
Copy the Install widget script snippet from the dashboard and paste it once on every storefront page where Minimal is allowed to run (typically right before the closing
</body> tag, or via your tag manager).It looks like this, with your own host and widget ID filled in:srcpoints at Minimal’s hosted loader. Keep the exact URL from the dashboard.data-widget-idis the public ID of your storefront channel (it starts withsw_pub_). It is safe to expose in your page source.
3
(Optional) Add an inline product-page open target
To let shoppers open the assistant from within a product page (using that page’s configured questions), paste the inline block into your product-page template wherever you want the open target to appear:Use the same
data-widget-id as the script snippet. You still need the widget script from the previous step on the page for the inline target to work.Platform notes
Shopify
Shopify
Add the widget script to your theme’s
theme.liquid, just before </body>, so it loads on every storefront page. For the inline open target, add the <div> block to your product template (product.liquid or the relevant product section). Remember to add your myshopify.com domain and any custom domain to the allowed origins.Google Tag Manager
Google Tag Manager
Create a Custom HTML tag containing the widget script snippet and set it to fire on the pages where the widget should appear (for example, All Pages). GTM injects the loader for you. The inline product-page open target must be placed directly in your product template, not through GTM.
Custom / other platforms
Custom / other platforms
Paste the widget script once in your global layout or footer so it is present on every page, then add the inline
<div> block only on product templates if you want the inline open target. Any platform works as long as you can insert HTML and the page origin is in your allowed origins list.Website content and where the widget appears
You manage the widget’s knowledge and behavior from the Website tab in Dashboard > Storefront, where your crawled pages appear as a sitemap. See the Website integration for more on connecting content.This section applies only to storefronts with a crawled website. If you created yours without scraping, the Website tab is hidden and none of the settings below apply. See Choose a website mode.
Choose where the widget appears
Every page, folder, and the website itself has an active toggle in the sitemap. The floating widget only appears on pages that are set to active:- Toggling a folder active or inactive applies to every page inside it.
- An individual page can override its folder.
- If the widget is installed but does not show on a page, confirm that page (or its parent folder) is active.
Marking a page inactive stops the widget from showing there and removes the page from the knowledge used for answers. Use this for pages like carts, checkout, or account pages.
Advanced crawl options
When you connect or configure your website, open Advanced to control how Minimal crawls your store:- Submit a sitemap - point Minimal at your sitemap URL so it discovers pages reliably instead of only following links.
- Additional delay between scrapes - add a delay between page requests to avoid overloading your server or hitting rate limits on large stores.
/products, or ignore /cart).
Influence the suggested questions
The widget shows suggested questions to shoppers. Minimal auto-generates these per page after crawling, and you can adjust them from the sitemap:- Select a page to edit that page’s questions, or switch it to inherit from its folder.
- Select a folder and choose Override at folder level to use one shared set of questions for every page in that folder.
- Select the website row to set default questions for the whole site.
Verify your installation
- Open a page on an allowed origin in a fresh browser tab.
- Confirm the widget launcher appears and opens the chat.
- Ask a question and confirm you get a page-aware answer.
Troubleshooting
The widget does not appear
The widget does not appear
Check that the page’s origin is listed under allowed origins, that the storefront channel is active, and that the kill switch is off in the dashboard. Also confirm the script snippet is actually present in the page source. If your storefront has a crawled website, check that the current page (or its folder) is set to active in the website sitemap - storefronts created without scraping have no sitemap and are not gated this way.
The widget appears but doesn't reply
The widget appears but doesn't reply
The storefront must be connected as a channel to an active AI Agent. If no active agent has the storefront set as a channel, the widget loads but cannot generate answers. We recommend creating a new, dedicated agent for the storefront and connecting it. See AI Agents.
It works on one domain but not another
It works on one domain but not another
Each domain you serve the storefront on must be added as an allowed origin. The apex and
www variant count as one origin, but separate domains (for example a staging domain) need their own entry.I updated a snippet from an older install
I updated a snippet from an older install
Older snippets used a
data-channel-key attribute. Replace them with the current snippet that uses data-widget-id. Copy the latest snippet from the dashboard to be sure.I need to disable the widget quickly
I need to disable the widget quickly
Use the per-channel kill switch in Dashboard > Storefront to turn the widget off immediately without removing the snippet from your site.