Installation
Connect Poleus to your website
Copy the snippet below and paste it before the closing
</body> tag of your website. Integration takes
less than 2 minutes.
Your embed snippet
<!-- Poleus AI Chat widget -->
<script>
window.__POLEUS_EMBED__ = { clientId: "c_mock12345_prod77" };
</script>
<script src="https://cdn.poleus.ai/embed-chat.js" async></script>
Note: This is a placeholder snippet for demonstration purposes. Your unique production script and Client ID will be generated and provided upon onboarding.
Platform-specific instructions
Go to Online Store > Themes > Edit Code.
Open theme.liquid, scroll to the bottom, paste
the code right before </body> and save.
Use a plugin like “Insert Headers and Footers” to add the script globally, or insert an HTML Code element in your global footer.
Go to your Project Settings > Custom Code. Paste the snippet inside the “Footer Code” or “End of Body tag” section and publish.
Paste the snippet at the very end of your main HTML file,
just before the closing </body> tag.