Skip to main content

Examples

Drop-in recipes for popular stacks. Each one mints a session on the server and hands the token to the widget on the browser — never ship your gvk_live_… key to the client.

StackWhat it shows
ExpressMinimal REST proxy that mints sessions on demand.
Next.js App RouterServer Action that returns a session token to a React Server Component.
React (any framework)useTryOn() hook + headless button.
Vue 3useTryOn composable for Vue/Nuxt.
Vanilla JSNo build step. One <script> tag + a button.
Shopify Liquid snippetDrop-in for custom Shopify themes (non-app install).
WooCommerce shortcode[genvoris_tryon] shortcode for WordPress sites.

All examples assume:

  • GENVORIS_API_KEY is set on your server.
  • You have at least one plan and one verified domain.
  • The end-customer is identified by some externalId (your auth system's user id).