Add live chat to your Shopify store

Answer shoppers’ questions while they’re still on the product page. One snippet in your theme adds the ChatMesh widget to every page of your store.

You need permission to edit your store’s theme and a free ChatMesh workspace. Create one here if you haven’t already.

  1. Create a free ChatMesh workspace

    Sign up on the Free plan (no card needed) and copy your snippet from Settings → Widget.

    Your snippet (with your own key)
    <script src="https://chatmesh.ascend-digital.co.uk/widget.js" data-chatmesh-key="pk_live_..." async></script>
  2. Open your theme code

    In Shopify admin go to Online Store → Themes. Next to your current theme, click the … button and choose Edit code.

  3. Paste the snippet into theme.liquid

    Under Layout, open theme.liquid. Find the closing </body> tag, paste the snippet just above it and click Save.

    layout/theme.liquid
    <!-- … the rest of theme.liquid … -->
    
        <script src="https://chatmesh.ascend-digital.co.uk/widget.js" data-chatmesh-key="pk_live_..." async></script>
      </body>
    </html>
  4. Allow your store’s domains and test

    In ChatMesh, add your store’s addresses (your own domain and the .myshopify.com one) under Settings → Widget → Allowed origins. Then open your store, send a test message and answer it from the Inbox.

Shopify live chat FAQ

Is ChatMesh in the Shopify App Store?

No. ChatMesh is added with one script tag in your theme, so there’s no app to install and no app permissions to grant.

Will the chat stay after I change theme?

The snippet lives in the theme you edited. If you switch to a different theme, paste it into that theme’s theme.liquid too.

Does it slow my store down?

The widget loads asynchronously after your store’s own content and sits in a fixed corner, so it doesn’t delay your pages or shift your layout.

Can I see which page a shopper was on?

Yes. Each ticket records the page the conversation started on, so you can see the product or cart page they were looking at.

Using another platform? See the guides for WordPress, Laravel and plain HTML, Next.js and React.