> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hemsy.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Add the Hemsy embed to your storefront: pick an install path, then configure launchers and what happens at checkout.

Hemsy Embeds let shoppers open the full Hemsy visualization experience in a modal on your own storefront. Any element on the page can become a launcher.

However it's installed, an embed comes down to three knobs:

| Knob | Where it's set | What it controls |
| - | - | - |
| **Embed setup** | Once per storefront (theme editor or script tag) | Your store subdomain, which elements are launchers, and page-wide defaults |
| **Launch mode** | Per launcher | What that click opens: Sandbox, product context, Bundle, Share, Flow, or Instant |
| **Final action** | Page-wide default, overridable per launcher | What the final CTA does: Shopify checkout (default) or handing items to your cart |

Everything else in these docs is payload detail or recipes for those three knobs.

## Choose your install

There are two ways to put Hemsy on a storefront. Both load the same embed script and use the same launcher attributes. The only difference is who writes the markup.

> [card] [Shopify theme extension](https://docs.hemsy.ai/embeds/shopify.md)
>
> For Online Store themes. Enable the app embed and add trigger blocks from
> the theme editor. No code, and Hemsy handles the cart for you.

> [card] [Script tag](https://docs.hemsy.ai/embeds/script.md)
>
> For editing your theme code directly, or any page where you own the
> markup. One script tag plus launcher attributes.

| How you want to install | Install path |
| - | - |
| From the Shopify theme editor, no code | [Theme extension](https://docs.hemsy.ai/embeds/shopify.md) |
| By editing your Shopify theme code | [Script tag](https://docs.hemsy.ai/embeds/script.md) |
| On any other page you control (e.g., You own web app) | [Script tag](https://docs.hemsy.ai/embeds/script.md) |

## Configure it

These pages apply to both install paths. The theme extension's settings map one-to-one onto the same launcher attributes you'd write by hand.

> [card] [Launch modes](https://docs.hemsy.ai/embeds/launch-modes.md)
>
> Sandbox, product context, Bundle, Share, Flow, and Instant, plus which one
> wins when a launcher has multiple attributes.

> [card] [Checkout vs Cart](https://docs.hemsy.ai/embeds/checkout-vs-cart.md)
>
> Decide what the final CTA does, and sync Hemsy with your own cart state.

> [card] [JavaScript API](https://docs.hemsy.ai/embeds/javascript-api.md)
>
> Open and close Hemsy programmatically with `window.HemsyEmbed`.

> [card] [Deep Links](https://docs.hemsy.ai/deep-links.md)
>
> Payload schemas, bundle attributes, and URL encoding shared by embeds and
> hosted links.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.