How to add an AI chatbot to Shopify
Supportweave Team · June 27, 2026 · 3 min read

On a Shopify store, the questions never stop: sizing, shipping, returns, 'is this in stock?'. An AI agent answers them instantly on every product page, and the install is one snippet in your theme.
What you'll need
- A Supportweave workspace (set up during your demo)
- Your embed snippet from the Install tab
- Access to your Shopify admin
Step 1: Copy your embed snippet
In Supportweave, open your chatbot → Install tab and copy the script:
<script
src="https://app.supportweave.com/widget.js"
data-chatbot-id="YOUR_CHATBOT_ID"
async
></script>Step 2: Add it to your theme
- 1In Shopify admin, go to Online Store → Themes.
- 2On your live theme, click the ⋯ menu and choose Edit code.
- 3Open Layout → theme.liquid.
- 4Paste the snippet just before the closing </body> tag.
- 5Click Save.
Step 3: Preview your storefront
Visit your store. The widget loads on the home page, collections, and every product page. Ask it a shipping or sizing question to confirm it's answering from your content.
Take it further
- Connect an order-lookup action so it can answer 'where is my order?'
- Capture pre-sale leads and hand VIP questions to your team
- Match your store's branding in the Appearance tab
Your store now has a 24/7 sales-and-support agent. See how to install on every other platform on our integrations page.