Installation
Prerequisites
Section titled “Prerequisites”Scaffold a new project
Section titled “Scaffold a new project”The create-red-app CLI validates your license, downloads the latest stable release, verifies its SHA-256 checksum, and extracts a ready-to-use project:
bun create red-app my-saas --license YOUR_LICENSE_KEYcd my-saasbun installYou can also use bunx or npx:
bunx create-red-app my-saas --license YOUR_LICENSE_KEYnpx create-red-app my-saas --license YOUR_LICENSE_KEYThe license key can also be read from the RED_LICENSE_KEY environment variable or a .red-license file in the current directory.
To pin a specific version:
bun create red-app my-saas --license YOUR_LICENSE_KEY --version 1.0.0-rc.2Initialize the starter kit
Section titled “Initialize the starter kit”After scaffolding, open Claude Code and run the interactive setup wizard to configure your project name, domain model, authentication mode, and optional modules:
cd my-saasclaude/red-initSee Initialize Your Project for a detailed walkthrough of all configuration options.
Configure environment
Section titled “Configure environment”The /red-init skill handles the first Convex setup path. If you skipped Convex during initialization, run:
bunx convex dev --onceMake sure .env.local contains VITE_CONVEX_URL and VITE_CONVEX_SITE_URL. Vite only exposes frontend variables with the VITE_ prefix.
Set service credentials as Convex environment variables when you need the related feature:
npx convex env set RESEND_API_KEY <your-key>npx convex env set AI_GATEWAY_KEY <your-key>Billing credentials depend on your Autumn and Stripe setup. See Billing when enabling paid plans.
Run the development servers
Section titled “Run the development servers”# Start everything (frontend + backend)bun run dev
# Or start individuallybun run dev:web # Frontend onlybun run dev:backend # Backend onlyThe web app runs on http://localhost:5173 by default.
Seed data
Section titled “Seed data”To create the development global admin and default organization:
bun run seedThe command prints the credentials it created.