Tutorials
Task-focused, end-to-end guides. Where the storefront reference documents each piece, a tutorial walks one whole path from start to a live result.
Build a storefront from scratch
The flagship build: a Next.js store from an empty project to a live checkout, catalog grid, PDP, and cart against @dscodotco/sdk.
Headless storefront: clone to live storeClone the Next.js Commerce fork, wire it to your tenant, run it locally, deploy to Vercel, and attach a custom domain.
Add subscriptionsOffer subscribe-and-save at checkout with recorded consent, and manage the subscription lifecycle.
Before you start
Every tutorial assumes you have the three things a store needs, issued by your Flightdeck operator when your store is provisioned:
- a tenant ref (e.g.
ruo-demo), - a storefront token (sent as
x-storefront-token) — an opaque secret (no fixed prefix), provisioned by the platform operator; platform-wide today. Server-side only, - the API origin (
https://api.ruo.pro).
If you only want the fastest hosted-store path without a fork, start with Getting started instead.