Install guides / Shopify
Install Embent on Shopify
One script tag in your theme code, no app to install. If you can open the theme editor, you are done in a few minutes.
Before you start
- Editing access to your store's theme code (you can only edit a theme's code after it has been purchased/added to your store).
- The widget will not appear on Shopify's checkout, thank-you, or order-status pages — Shopify blocks custom scripts there for stores that aren't on Shopify Plus.
Steps
Copy your embed snippet
In your Embent dashboard, open your bot's Overview and copy the embed snippet. It looks like this:
<script src="https://api.embent.com/widget.js" data-bot="YOUR_BOT_ID" async></script>Open your theme code
From your Shopify admin, go to Online Store → Themes. On your current theme, click the ⋯ menu and choose Edit code. Shopify recommends duplicating your theme first, since code changes that are incompatible with a later theme update get removed automatically.
Paste it into theme.liquid before </body>
In the Layout folder, open theme.liquid, scroll to the closing </body> tag near the bottom of the file, and paste the snippet just above it. Click Save.
Check it worked
Reload your storefront (not the checkout) in a new browser tab: the chat bubble appears in the corner. Ask it a question about your own pages and it should answer with a citation.
If it doesn't work
Tried it and the widget isn't showing? These fix nearly every case.
Common questions
The chat bubble in the corner is Embent itself, running on this page — ask it anything about us.