Platform Installation Guides4 min readUpdated November 2026
Shopify Installation Guide
Add Rajlav AI to your Shopify store via theme.liquid with zero speed impact and full cart recovery compatibility.
Requirements#
• An active Shopify store on any plan.
• Admin access to edit theme code.
Adding to theme.liquid#
Follow these steps in Shopify Admin:
01
Open Theme Editor
Go to Online Store > Themes. On your active theme, click the "..." menu and select "Edit Code".
02
Locate theme.liquid
Under the `Layout` folder, click `theme.liquid`.
03
Paste Before </body>
Scroll to the bottom, paste the Rajlav AI script snippet before the `</body>` tag, and click Save.
Shopify theme.liquid Embed Snippet
<!-- Rajlav AI Smart Connect for Shopify -->
<script
src="https://ai.rajlav.co.in/widget/smart-connect.js"
data-business-id="YOUR_BUSINESS_ID"
data-position="bottom-right"
async
></script>Verifying Cart Recovery#
To connect abandoned checkout webhooks, go to Shopify Admin > Settings > Notifications > Webhooks and create an `orders/create` and `checkouts/create` webhook pointing to your Rajlav AI endpoint.
Was this article helpful?
Your feedback helps our team improve technical documentation.