Skip to main content
The Generic Embed loads Trylora from a single asynchronous script. Store-specific configuration remains in the Trylora dashboard.

Prerequisites

You need:
  • Access to the Trylora dashboard
  • The exact production Store URL
  • Access to the storefront’s global HTML layout or application shell
  • At least one product page with a stable product-image element
Do not use this guide for a Shopify Online Store theme. Use the Shopify quickstart instead.

Create and install the store

1

Create a store

Open the Trylora dashboard, select the appropriate workspace, and create a store. Enter the full Store URL, including https://.
2

Choose setup mode

Use Automatic setup to scan product and category pages and recommend image sources. Use Manual setup when you already know the required selectors and placement.
3

Copy the Embed Script

After store creation, copy the generated snippet. You can find it again under the store’s Embed tab.
4

Add it once to the global layout

Paste the snippet into the shared storefront layout, usually before the closing </body> tag. Keep the generated Store Key unchanged and ensure the script appears only once per page.
5

Publish and test

Deploy the storefront, open a product page on the authorized Store URL, and confirm that the Try On Button appears at the configured Try On Target.
A Store Key selects public storefront configuration. It is not a secret credential, but it works only with the Store URL authorized in Trylora.

Verify the first try-on

  1. Open a production product page in a private browser window.
  2. Confirm that one Try On Button appears in the intended location.
  3. Open Trylora and upload an eligible customer photo.
  4. Generate a new image result.
  5. Confirm that the intended product image was used.
If the button does not appear, check Store URL and origins, then Placement.

Next steps

Configure placement

Select the button target and product image source.

Customize appearance

Match the storefront and choose widget language.

Target pages

Add show and hide rules.

Connect analytics

Send success events to existing page analytics providers.