Add an AI agent to Shopify

Updated November 1, 2026

Paste your AgentGuide script into layout/theme.liquid just above </head>, then save. The agent shows on every page of your store.

On Shopify you paste the script once into your theme layout, and the agent appears on every page of your store: home, collections, product pages and cart.

Shopify theme code editor with the AgentGuide script above the closing head tag in theme.liquid
In theme.liquid, paste the script just above </head>.

Steps

  1. In AgentGuide, open your agent → Install agent, pick Shopify and click Copy code.
The install window with Shopify selected and the Copy code button
In Install agent: 1 pick Shopify · 2 Copy code.
  1. In Shopify admin, go to Online Store → Themes.
  2. Next to your current theme, click ⋯ → Edit code.
  3. Open layout/theme.liquid.
  4. Paste the code just above </head> and click Save.
  5. Open your store. The install window in AgentGuide changes to Running on your address.
<script src="https://agentguide.site/api/embed/script.js?embedId=YOUR_EMBED_ID" async></script>

Let the agent recommend your products

A Sales agent recommends products from your catalog with photo, price, a short reason why each fits, and a link to the product page. To give it your products:

  • Knowledge → Add knowledge → Import from website → Products, or
  • Upload files with a product list as CSV or JSON.

Prices and stock in the answers come from your last import, so import again after big catalog changes.

Get started

Put your first agent on your website today.

Start free. Add your website or documents, pick Sales or Support, and watch it answer your customers.

  • Free plan, no credit card
  • Answers from your own content
  • Sales, Support, or both