Integrations
Embed Your AI Agent in Shopify
Adding your Answerly AI agent to your Shopify store takes less than two minutes.
Because Answerly connects seamlessly with any online store theme, you don't need to install bulky apps or mess with complex configurations, just paste a single line of code into your theme settings.
Here is the step-by-step guide to embedding your AI agent on Shopify.
1. Copy Your Embed Snippet
Before heading to Shopify, you need to grab your unique widget code from the Answerly dashboard.
Go to the Instant Embed page, and click on Connect a Website:
When you click connect a website you get a modal where you're asked to connect your storefront:
Connect a Website
Insert your website below without https and any other special characters.
www.example.comâšī¸ If your website works with www then make sure you include it here too.
Once you click continue an embed code will be generated for you. Copy this script snippet to your clipboard.
2. Add Code to Shopify Theme Files
The cleanest way to add your snippet to your storefront is by inserting it directly inside your theme's theme.liquid file.
- Log into your Shopify Admin dashboard.
- Navigate to Online Store â Themes in the left-hand menu.
- Find your current theme, click the three dots (...) icon next to Customize, and select Edit code.
- In the left file sidebar, locate and open the
theme.liquidfile (usually under the Layout folder). - Scroll down to the bottom of the file and locate the closing
</body>tag. - Paste your Answerly script snippet directly above that closing
</body>tag. - Click Save in the top right corner.
3. Verify the Connection
Once the code is added to Shopify, we need to establish the connection between your site and Answerly.
- Open your Shopify storefront in a new browser tab.
- Refresh the page a few times, this triggers the script and alerts our system.
- Head back to the Answerly website dashboard.
Your dashboard status will update to show that your website is successfully Verified.
4. Set Your Display Conditions
Now that the handshake is complete, you can control exactly where your AI agent appears. In your Answerly dashboard settings, choose whether you want to show your agent across all pages, or set specific path conditions to match your preference.
Need any help?
That's it! Your AI teammate should now be live on your store and turning shoppers into buyers. If you run into any issues during the setup or the verification step won't greenlight, don't worry. Just reach out to hi@answerly.io, and our team will help you configure it in real-time.