ConversentSign up
← Back to homeShopify setup guide

How to add an AI chat widget to your Shopify store

Add one script tag to your theme and Conversent appears on every storefront page.

Why add Conversent to Shopify

Conversent answers shopper questions using only your store's own content, then appears as a chat launcher across your storefront — helping visitors get answers without leaving the page they're on.

New here? Create your free widget first →

Setup steps

The script tag you'll be pasting looks like this:

<script src="https://api.conversent.app/embed/script?widget_id=YOUR_WIDGET_ID&token=YOUR_TOKEN" async></script>
  1. 1

    Open your theme code

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

  2. 2

    Open theme.liquid

    In the file list, open layout/theme.liquid.

  3. 3

    Paste the script

    Paste your widget's script tag from your Conversent dashboard immediately before the closing </body> tag.

  4. 4

    Save

    Click Save. The widget goes live immediately on your storefront — no separate publish step needed.

This installs the widget directly in your theme — the standard method today for a script that isn't distributed as a listed Shopify App. If Conversent ships a listed Shopify App in the future, installing through Shopify's App Embeds will become the more integrated option; this guide covers what works today.

How to verify it worked

Reload any storefront page (home, product, or collection page) and look for the chat launcher in the bottom corner.

Also see: WordPress · Wix · Webflow

Ready to add Conversent to your store?

Create your widget and get your script tag in a few minutes — no card required.

Start for free