Who can do this: admins of the workspace.
You need: an agent that is published, and access to edit your website’s code or theme.
1. Turn on the widget
- Open Agents and choose the agent that should answer chats.
- Go to Channels and open Website widget.
- Choose Enable widget channel.
2. Allow your domains
The widget only loads on domains you list. Until you add one, it won’t work anywhere.- Under Allowed origins, choose + Add origin.
- Enter your site’s address with
https://and nothing after the domain, for examplehttps://www.your-shop.no.
You can paste several addresses at once, separated by commas or spaces.
3. Paste the snippet into your site
Copy the snippet under Installation with Copy. It looks like this, with your own key:- Shopify
- Any other website
- In Shopify admin, go to Online Store → Themes.
- Next to your theme, choose ⋯ → Edit code.
- Open
layout/theme.liquid. - Paste the snippet on the line just above
</body>, then choose Save.
4. Check that it works
Open your site in a new private window. The chat button appears on the page. Ask it something your agent knows, and the conversation shows up under Conversations in Ask. Conversations carry over as customers move between pages on your site.Change how it looks
Under Appearance on the same page you can set the primary colour, the text on the chat button, the widget’s language, and a proactive message that opens after a delay. The preview on the page updates as you change things.Hide the widget for a while
Switch off Show the widget on your website. The chat button disappears from every page the next time it loads. A chat that is already open stays until that visitor leaves the page. Switch it on again to bring the button back; you don’t need to touch your site’s code. To remove the widget for good, delete the snippet from your site.Common problems
It works on my live site but not in Shopify's theme preview
It works on my live site but not in Shopify's theme preview
Shopify serves previews from a different address, ending in
shopifypreview.com. Add that address to Allowed origins while you test, and remove it afterwards.My latest changes don't show up in the chat
My latest changes don't show up in the chat
The widget always talks to the agent’s published version. Changes you save as a draft reach customers only after you publish the agent. An agent that has never been published can’t start a chat at all.