Nitrogen
Build headless CloudCart storefronts and deploy them to Nova, CloudCart's edge hosting — with Git-based deploys and preview environments.
Nitrogen is CloudCart's headless storefront stack. You build a completely custom shopping experience in React, powered by the GraphQL Storefront API, and deploy it to Nova — CloudCart's edge hosting — straight from Git or the CLI.
How the pieces fit
┌─────────────────┐ GraphQL ┌──────────────────┐
│ Your Nitrogen │ ──────────────▶ │ Storefront API │
│ storefront │ /api/sf │ (your store) │
│ (React) │ ◀────────────── │ │
└────────┬────────┘ └──────────────────┘
│ git push / cloudcart nitrogen deploy
▼
┌─────────────────┐
│ Nova │ your-storefront.cloudcart.dev
│ (edge hosting) │ → or your custom domain
└─────────────────┘- Each storefront gets its own API tokens and environment configuration, managed in the admin panel
- Every push to
maindeploys to production; pushes to any other branch create preview deployments - The starter template ships pre-configured: routing, cart, checkout redirect, SEO meta, and the Storefront API client
Two ways to deploy
| GitHub (recommended) | CI/CD or manual | |
|---|---|---|
| Setup | Connect the CloudCart GitHub App | Copy a deploy token (cc_nova_…) |
| Deploys | Automatic on every push | cloudcart nitrogen deploy from anywhere |
| Previews | Every non-main branch | cloudcart nitrogen deploy --preview |
| Best for | Teams working in GitHub | GitLab/Bitbucket pipelines, custom workflows |
Start here
- Quickstart — create a storefront in the admin and run it locally in ~5 minutes
- Deploying — GitHub auto-deploys, deploy tokens, previews vs production
- CLI reference — every
cloudcart nitrogencommand
Prerequisites
You'll need Node.js 20+, the CloudCart CLI installed, and admin access to a CloudCart store.