# Joy on Hydrogen

> Source: https://help.joy.so/settings/developers/headless/ · Last updated: 2026-11-16

Bring Joy Loyalty to your Shopify Hydrogen storefront — the floating loyalty widget and the full Loyalty Page, powered by the same programs you manage in Joy admin.

> **Note:** Headless storefronts are available on the **Ultimate** plan.

### Overview

If your store runs on **Shopify Hydrogen**, Joy's theme app extensions can't reach your storefront. The Joy headless packages fill that gap: your customers get the same loyalty experience as on an Online Store theme, and you keep managing everything — programs, rewards, VIP tiers, translations and widget branding — from Joy admin.

With Joy on Hydrogen you get:

- **The loyalty widget** — the floating launcher and panel, showing points, tier, ways to earn and rewards. Customers redeem rewards and the coupon is applied to their cart automatically.
- **The Loyalty Page** — your Loyalty Page V2 rendered natively in a Hydrogen route.
- **Redeem in Cart** — customers spend points right in your cart drawer, and the reward applies to the cart.
- **Point calculator** — "Earn X points" on product pages and in the cart.
- **Signed-in customer data** — customers who log in through the Customer Account API see their own balance and rewards, securely.
- **Server rendering** — the widget paints on the first page load instead of popping in later.

### The packages

| Package                 | What it is for                                                                                         |
| ----------------------- | ------------------------------------------------------------------------------------------------------ |
| `@joy-loyalty/hydrogen` | The widget, the Loyalty Page, the token route and server helpers for Hydrogen. Every install needs it. |
| `@joy-loyalty/sdk`      | A framework-agnostic client for the Joy headless API. You only need it to build a fully custom UI.     |

### Before you start

1. Make sure your store is on the **Ultimate** plan.
2. In Joy admin, go to **Settings > Developers** and turn on **Enable Custom Storefront development**.
3. Set up **Customer Account API** login in your Hydrogen project. Without it, every shopper is treated as a guest.
4. To use the Loyalty Page, switch to **Loyalty Page V2** in Joy admin.

### Choose your path

- **With an AI coding agent (recommended)** — your agent follows our step-by-step skill, adapts the code to your project and verifies it with you. You only handle secrets and the deploy.
- **Manually** — follow the foundation guide, then add the parts you need: the widget, the Loyalty Page, Redeem in Cart and the Point calculator.

[Install with an AI agent (recommended)](https://help.joy.so/settings/developers/headless/install-with-ai-agent/)

[Install manually](https://help.joy.so/settings/developers/headless/install-manually/)

[Loyalty widget](https://help.joy.so/settings/developers/headless/loyalty-widget/)

[Loyalty Page](https://help.joy.so/settings/developers/headless/loyalty-page/)

[Redeem in Cart](https://help.joy.so/on-site-content/cart-drawer/redeem-in-cart-headless/)

[Point calculator](https://help.joy.so/on-site-content/product-page/point-calculator-headless/)

[Deploy and verify](https://help.joy.so/settings/developers/headless/deploy-and-verify/)

[Troubleshooting](https://help.joy.so/settings/developers/headless/troubleshooting/)

> **Note:** Building with **Weaverse**? Follow [Joy x Weaverse](https://help.joy.so/settings/developers/weaverse/) instead.

> **Note:** Using the older `joyso-hydrogen-sdk` package? See [Integrate the Joy Loyalty widget to Hydrogen](https://help.joy.so/settings/developers/integrate-the-joy-loyalty-widget-to-hydrogen/). New installs should use `@joy-loyalty/hydrogen`.
