Skip to main content

Manual Embedding in Shopify

This guide explains how to manually embed a FormAgent.ai agent into your Shopify store.

Prerequisites

  • You have a running Shopify store
  • You have a FormAgent.ai account and have obtained your Agent ID

Embedding Steps

  1. Log in to your Shopify admin panel
  2. Go to "Online Store" → "Themes"
  3. For your active theme, click "Actions" → "Edit code"
  4. Open the theme.liquid file
  5. Paste the following script just before the </body> tag:
<script defer id="formagent-script" src="https://formagent.ai/embed.js" data-agent-id="YOUR_AGENT_ID"></script>
  1. Click the "Save" button to apply your changes.

Troubleshooting

  • If the chat widget does not appear, double-check your Agent ID and the script placement.
  • Clear your cache and reload the page.

Support

If you have any questions, please contact Support.