B2B2C starter kit

Multi-tenancy made easy.

Stop building B2B2C from scratch.

Ship the product, not the plumbing. Auth, billing, MFA, audit trails, custom domains, exports, and support ops are ready on day one.

ConvexDokployNext.jsPolarResendTurborepoTypeScriptTailwind CSS
0+

Capabilities shipped

Auth, billing, tenancy, security, and ops — all pre-built and connected.

0+

Billing tiers

Free, Pro, Business, and Enterprise with entitlements and self-serve checkout.

0+

Auth flows

Sign up, email verify, MFA, step-up, recovery codes, password reset, session revoke, and more — across all three surfaces.

0+

Platform tools

Audit logs, API keys, webhooks, exports, custom domains, impersonation, MFA recovery, incident notices, and more.

Open the starter kit like a repo

Browse the full starter kit in one place: product surfaces, backend modules, shared packages, docs, setup scripts, deployment files, and tests.

Repository view

Open folders and jump through the important starter-kit layers.

File tree

Workspace architecture./

The repo is split to show ownership clearly: product app, marketing app, docs app, backend package, shared packages, setup scripts, and deploy assets all live in explicit places.

Selected file

Select a folder or file to see what it handles and how it fits into the app.

Included Here

  • Product surfaces, backend code, shared packages, docs, setup scripts, and deploy assets each have their own place.
  • The repo stays readable because the major concerns are separated instead of being packed into one app folder.

Nearby Files

  • apps/app
  • apps/marketing
  • apps/docs
  • packages/backend
  • packages/*
  • scripts/continu
  • deploy/dokploy
1workspace
2
3apps/ runtime surfaces
4packages/ typed shared infrastructure
5docs/ evaluator and builder documentation
6scripts/ first-run and environment automation
7deploy/ self-hosting artifacts
Each selection includes a focused summary, key files, and a code excerpt from the same area.

What's already built

Every B2B2C product needs the same foundation. Continu ships it so you start on the product, not the plumbing.

Identity & Authentication

  • Three isolated auth realms — org, portal, platform
  • Email/password with mandatory verification
  • TOTP MFA with QR code enrollment
  • Recovery codes: one-time use with rotation
  • Step-up auth and verified session controls

Accounts & Teams

  • Org invites with 7-day expiry
  • Roles: owner, admin, member with capabilities
  • Password reset with TTL tokens
  • Email change with re-verification
  • Ownership transfer and member removal

Multi-Tenancy & Isolation

  • Subdomain routing per tenant
  • Row-level security on all org data
  • Custom domain registration and verification
  • Portal tenant isolation by host
  • Platform admin with full org oversight

Billing & Subscriptions

  • Four tiers: Free, Starter, Pro, Enterprise
  • Self-serve checkout and plan changes via Polar
  • Lifecycle: trial, active, grace, canceled
  • Billing portal and payment management
  • Feature entitlements enforced per plan

Security & Compliance

  • Audit logs: security, billing, API, webhooks
  • API keys with usage tracking and revocation
  • Signed webhooks with delivery history
  • Cookie consent tooling
  • Rate limiting on all sensitive operations

Notifications & Operations

  • Notification inbox per surface
  • Per-user notification preferences
  • Scoped data exports as JSON
  • Support handoff with tenant context
  • Self-hostable via Docker and Dokploy

Built for scale and security

Enterprise-grade features that work out of the box

Multi-Tenant Architecture

Shopify-style subdomain routing with automatic organization isolation. Each organization gets its own subdomain with row-level security built-in.

  • Automatic data isolation per organization
  • Custom domain support
  • Seamless organization switching
  • Role-based access control

Authentication & Security

Security foundations with TOTP MFA, password reset flows, step-up checks, and session revocation.

  • Two-factor authentication (2FA)
  • Password reset and session management
  • Step-up verification for sensitive actions
  • Audit logs for compliance

Billing & Subscriptions

Complete billing system with Polar.sh integration, subscription tiers, feature gating, and portal.

  • Polar.sh integration
  • 4 subscription tiers with feature gating
  • Customer billing portal
  • Invoice history & downloads

API & Webhooks

Developer-facing API foundations with API credentials, signed webhooks, delivery logging, and rate limiting.

  • API credentials for premium access
  • Webhook delivery logs and retries
  • Rate limiting per tier
  • HMAC-SHA256 webhook signatures

Self-Hosted Deployment

Built for self-deployers with Docker and Dokploy support. Deploy on your own infrastructure with full control and no vendor lock-in.

  • Dokploy-ready deployment
  • Docker & Docker Compose included
  • Wildcard SSL for subdomains
  • Complete deployment documentation

Developer Experience

Built with modern tools and best practices. Type-safe, well-documented, and ready to customize.

  • Full TypeScript support
  • Comprehensive documentation
  • Docker deployment ready
  • Guided setup with continu:init

Pricing

We're putting the finishing touches on our pricing plans. Get notified when we launch.

Coming Soon

We're currently in preview mode. Pricing and availability will be announced soon. Get notified when we're ready to launch.

Get notified

Template vs. Building from Scratch

See how much time and money you can save

FeatureWith TemplateBuilding from Scratch
Multi-tenant architecture40 hours
Authentication & authorization24 hours
Billing & subscriptions40 hours
API keys & webhooks24 hours
Two-factor authentication8 hours
Audit logs24 hours
Internationalization24 hours
Theming system24 hours
Data export and privacy controls24 hours
Platform control plane24 hours
Docker deployment8 hours
Documentation16+ hours
Total development time8 hours120+ hours

Perfect for any B2B2C SaaS project

Whether you're building a startup or enterprise tool, this template has you covered

Self-Hosted SaaS

Perfect for developers who want full control over their infrastructure. Deploy on your own servers with Dokploy, maintain data sovereignty, and avoid vendor lock-in.

  • Complete infrastructure control
  • Dokploy-ready deployment
  • Data sovereignty & privacy
  • No vendor lock-in

SaaS Startups

Launch your SaaS product quickly without building infrastructure from scratch.

  • Get to market faster
  • Focus on your core product
  • Save months of development
  • Production-ready from day one

Enterprise Teams

Build internal tools and portals with enterprise-grade features.

  • Multi-tenant architecture
  • Security and compliance built-in
  • Scalable from the start
  • Platform dashboard included

Agency Projects

Deliver client projects faster with a solid foundation already in place.

  • Faster project delivery
  • Consistent quality
  • Less maintenance overhead
  • Professional features out of the box

Developer Tools

Build developer-focused products with API access and webhooks included.

  • API keys & webhooks ready
  • Developer documentation
  • Rate limiting built-in
  • Webhook signatures

Marketplace & Platforms

Create multi-vendor marketplaces and platform businesses with built-in tenant isolation and billing.

  • Multi-tenant architecture
  • Per-tenant billing & subscriptions
  • Role-based access control
  • Organization management

Security you can trust

Enterprise-grade security features built-in from day one

Two-Factor Authentication

TOTP-based 2FA to protect user accounts with an extra layer of security.

Recovery Codes

One-time backup codes with rotation so users can recover access without weakening MFA.

Password Reset Flows

Password reset emails and recovery flows are already wired into the backend.

Session Controls

List active sessions, require step-up when needed, and revoke access remotely.

Audit Logs

Comprehensive audit logging for compliance and security monitoring.

Row-Level Security

Automatic data isolation per organization with built-in access controls.

API Credentials and Webhook Signing

Premium API credentials, tier-aware access, and HMAC-SHA256 webhook signatures.

Data Export and Privacy Controls

Export request flows and privacy controls for customer data handling.

Operational controls:Privacy controlsAudit trailsSession revocation

Three product surfaces, one starter

The repo already separates internal staff, customer tenants, and platform operators.

Org

Run staff operations, billing, and organization management from the org surface.

Staff workspaceInternal teams

Portal

Give customers a tenant-facing portal with isolated identities and account lifecycle.

Customer workspaceTenant users

Platform

Manage organizations, subscriptions, and directory visibility from a platform control plane.

Operator workspaceAdmin teams

Bootstrapped for pnpm

The repo already includes the guided setup flow used in local development.

bash
# Clone the repository
git clone https://github.com/Panther-Cub/continu-demo.git
cd continu-demo

# Install dependencies
pnpm install

# Run the guided setup
pnpm continu:init

# Start the workspace
pnpm dev

Frequently Asked Questions

Everything you need to know about the template

The starter includes the core B2B2C foundations already wired in this repo: org, portal, and platform surfaces; multi-tenant routing; auth and MFA; Polar billing; API credentials and signed webhooks; audit logs; data exports; internationalization; theming; Docker deployment; and platform admin flows.

Want launch updates?

Continu is still in preview. Explore the live demo, then join the list for launch and pricing updates.