Four deployment surfaces. All consume the same Aforo REST API. All carry the same X-Storefront-Key auth.
One-command deploy from our Vite SPA. Amplify Gen 2 config committed to your repo. CloudFront CDN with S3 origin. Auto-deploys on push.
amplify deploy --app aforo-storefront # → https://storefront.acme.com
Consume raw REST APIs from any React, Next.js, Nuxt, or SvelteKit app. Full TypeScript types. ETag caching built in.
npm install @aforoai/storefront-headless # Typed. Cached. Production-ready.
White-label the pre-built Vite SPA. 100+ config settings, CSS theme tokens, custom domain routing, subdomain per tenant.
AFORO_KEY=sk_xxx pnpm dev # → localhost:5175
Single <script> tag embeds a pricing widget into any existing website. Layout, theme, CTA text all configurable without React.
<script src="https://cdn.aforo.io/widget.js" data-key="sk_xxx" data-theme="dark" />
4 product types (API, Agentic, AI Agent, MCP Server). Per-product landing pages. Live usage charts.
Self-serve provisioning, rotation, revocation. CLIENT_CREDENTIALS for MCP/Agent. Full lifecycle UI.
Register AI agents, view session history, manage tool access. Storefront portal = full agent lifecycle.
Custom domains per tenant. Subdomain routing with TLS. Next.js middleware rewrite-based.
Per-metric sparklines, billing period summaries, quota alerts. Powered by ClickHouse materialized views.
Invoices, credit notes, wallet balance, payment methods, ERP sync status — all self-serve.
GET STARTED
Headless. AST-validated. SAML/OIDC-native. Deploying in minutes on AWS Amplify or consumed as an NPM package from your existing app.