Add Try-On to Your Website
Works on any website — Wix, WooCommerce, Magento, Squarespace, custom sites. No coding needed.
🔑 Your API Key
This key connects your website to Tryva. It's already built into the install code below — you don't need to copy it separately. Keep it private; regenerate it if it's ever exposed.
Regenerating creates a new key and disconnects the old one. If you've already installed the code somewhere, you'll need to update it with the new key.
1 Add one line to your website
Paste this once into your site, just before the closing </body> tag (or in your theme's "custom code / footer" area). That's it — the Try-On button appears automatically on your product pages.
One line, site-wide. Tryva finds each product's image and places the button next to "Add to Cart" automatically. Nothing per-product.
If you want to control the button's exact position, add the script once, then drop this container into your product template (one edit, applies to all products). The product image is still detected automatically.
Advanced: to set a specific image, add data-garment="IMAGE_URL" to the container. Optional: data-category (tops, bottoms, one-pieces, swimwear, outerwear).
2 Authorize your website (security)
Add the domains where your Try-On may run. This protects you: even if someone copies your install code, it won't work on any other website. Enter your domain without https:// (e.g. yourstore.com).
💡 How it works
Need help installing on your platform? Email info@tryva.ai