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
- Log in to your Shopify admin panel
- Go to "Online Store" → "Themes"
- For your active theme, click "Actions" → "Edit code"
- Open the
theme.liquid
file - 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>
- 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.