Integrations
The JS snippet works on any store, in under 3 minutes. The apps and plugins for Shopify, WooCommerce, Wix and Prestashop are ready and awaiting publication.
Snippet JS integration
- 1Add your store’s domain to the authorised domains, under Dashboard → Widget: without it the widget does not start, and does not say why
- 2Sign in to the dashboard and go to Installation
- 3Copy the <script> tag with your API key
- 4Paste it into your theme, inside <head> or just before </body> — both work
- 5That’s it. Cabina injects its own button and reads the garment from the page — step-by-step guide with screenshots at cabina.io/docs/en
Snippet to copy:
<!-- Cabina Virtual Try-On — paste once, in <head> or before </body> -->
<script
src="https://www.cabina.io/widget.iife.js"
crossorigin="anonymous"
data-api-key="cab_live_YOUR_API_KEY"
async
></script>
<!-- Optional. Only needed if the button lands in the wrong place:
without it, Cabina finds your theme’s buy block on its own. -->
<div data-cabina-target></div>
<!-- Nothing to update: widget improvements arrive on their own, without touching this snippet. -->