Add an AI support agent to your Shopify store.

A chat on every page of your Shopify store that answers from your docs, shows the passage it used, and hands what it can’t answer to you.

Paste one line · 8 steps

Before you start.

  • On Shopify

    You can edit a theme’s code only once the theme is yours: a trial of a paid theme has to be bought first.

  • On hiy

    A Support Agent. Making your first one starts a 14-day free trial, no card needed, one per account.

    Make one from your site
  • Who can ask it

    Anyone, even a script, can ask an open agent, so treat what it knows as public.

    Open on your site
  • Visitors who sign in

    Leave it closed and have your own server sign each visitor a token instead.

    Recipes for signed-in visitors

Step by step.

Three steps in hiy, 4 on Shopify, then a test.

In hiy

  1. Add your site in hiy

    In your Support Agent, on the Install card, type your site’s address and press Save.

  2. Switch on Open on your site

    It asks you once before it opens. Anyone on your sites, even a script, can then ask it, so treat what it knows as public.

  3. Copy the line

    Copy the one line it shows. data-twin names your agent.

    <script src="https://hiy.ai/embed.js" data-twin="your-agent" data-mode="bubble" async></script>

On Shopify

  1. Open the code editor

    From your Shopify admin, go to Online Store, press … beside your theme, then Edit code.

  2. Open theme.liquid

    Open layout/theme.liquid, the layout your store’s pages use.

  3. Paste before </body>

    Paste the line just before the closing </body> tag.

  4. Save

    Press Save.

Then

  1. Test it on your live site

    Open a page of your published site and ask something your docs answer, then something they don’t. hiy opens only on https pages of the sites on your list.

Worth watching for.

  • Duplicate your theme first, as Shopify advises, so you have a copy to go back to.
  • On an address like yours.myshopify.com, list that exact host in hiy. hiy refuses myshopify.com on its own, because many sites share it.

Train it on your Shopify store.

In hiy, go to Agents, press New Support Agent, paste your site’s address and press Find its pages. It lists the pages and reads none of them until you create the agent, and Choose pages unticks pages or adds links.

hiy reads a site’s sitemap to find its pages. Shopify publishes your store’s sitemap at yourstore.com/sitemap.xml.

When the site changes, open it in Knowledge and press Re-sync now, or have it re-read weekly or monthly. New pages are offered, never added.

How setup worksSyncing a website

Questions people ask first.

Do I need a developer to add hiy to Shopify?

No. You paste one line into your theme’s theme.liquid file and save, and hiy needs no server of yours.

Is my agent’s knowledge public on my Shopify store?

With Open on your site switched on, yes. Anyone on the sites you list can ask it, and so can a script, so treat what it knows and its instructions as public.

What if my visitors sign in?

Leave Open on your site off and have your own server sign each visitor a short-lived token instead. The chat API guide shows how.

Put it on your own site. Start free; the paid plan is free for 14 days.

Start free
  • 14-day free trial
  • No card needed
  • Paste a URL to start