Install on Shopify

Until the LiveCart Shopify app is listed, you install the widget by adding one script to your theme. It takes about five minutes and you can undo it at any time.

About 5 minutes

  1. Create a Web channel

    In the LiveCart console open Channels, add a Web channel, list the domains the widget may load on, and choose the AI agent that should answer.

  2. Copy your snippet

    Open the channel's Install tab and copy the code snippet. It already contains your public installation key and endpoints; the values below are placeholders.

    <script async
      src="YOUR_SCRIPT_URL/livecart.js"
      data-livecart-key="YOUR_PUBLIC_KEY"
      data-livecart-endpoint="YOUR_API_ENDPOINT"
      data-livecart-render-mode="iframe"></script>
  3. Open the theme code

    In Shopify admin go to Online Store → Themes, then on your live theme choose ⋯ → Edit code.

  4. Paste before </body>

    Open layout/theme.liquid, find the closing </body> tag and paste the snippet just above it. Save.

  5. Test it

    Open your site in a private window, start a chat and ask a question your knowledge base covers. The conversation appears in your LiveCart inbox.

FAQ

Questions, answered

Still curious? Ask our team

Will a theme update remove it?

Switching to a new theme does; updating the same theme usually keeps theme.liquid edits. Re-add the snippet if you change themes.

Can I install it with Google Tag Manager instead?

Yes, if your store already loads GTM. See the GTM guide.

Your agent is one paste away

Create a free LiveCart workspace and copy your snippet from the Install tab.

Change these any time from the footer.