Quick Start
This is the shortest path from license key to a running RED app.
1. Scaffold RED
Section titled “1. Scaffold RED”You need Bun, Node.js 20+, a Convex account, and a valid RED license key.
bun create red-app my-project --license <your-license-key>cd my-projectbun installThe scaffold writes two important files:
.red-version— commit this; it tells/red-updatewhich RED base version you are on..red-license— keep this git-ignored; the CLI and skills use it to access RED releases.
2. Initialize Your Project
Section titled “2. Initialize Your Project”Open Claude Code from the project root and run the setup skill:
/red-initThe skill asks for:
- Convex backend setup.
- Project name.
- What to do with the Books demo: keep, remove, or replace.
- Signup mode and organization creation policy.
- Optional modules: AI Chat, Billing, API Keys.
- Whether to keep or remove
apps/docs/.
Nothing is modified until the skill shows a summary and you confirm. If Convex is configured, the skill verifies with bunx convex dev --once, runs lint, and runs bun run seed to create the global admin user.
For the first run, keep the AI module and the demo features. That gives you the Brief AI Assistant as a working reference before you customize anything.
3. Start the App
Section titled “3. Start the App”bun devOpen http://localhost:5173.
If you skipped Convex during /red-init, run this first in a normal terminal:
bunx convex dev --onceThen run:
bun run seedThe seed command prints the admin credentials it created.
4. Verify the Brief AI Assistant
Section titled “4. Verify the Brief AI Assistant”Sign in with the seeded admin user, create or open a Brief workspace, then try this:
Add a section called "Goals" with a few product goals.The assistant should read the brief, add a section, and summarize what changed.
Now test background work:
/exportThe assistant calls exportBrief, which starts an internal background task. The chat stays usable while task progress is written as events. When the export finishes, the engine adds a task_event message and the assistant can reply with the artifact.
That loop is the core RED pattern: agent + tools + shared state + background tasks.
5. Check the Admin Portal
Section titled “5. Check the Admin Portal”Go to /admin with the seeded admin user.
Use it to inspect:
- Users and organizations.
- Audit logs.
- Waitlist and auth configuration.
- Billing sync and plan state if Billing is enabled.
- Global configuration.
Troubleshooting
Section titled “Troubleshooting”Convex setup did not finish
Section titled “Convex setup did not finish”The Convex CLI requires browser login and project selection. Run:
bunx convex dev --onceThen make sure .env.local contains VITE_CONVEX_URL and VITE_CONVEX_SITE_URL. Vite only exposes variables prefixed with VITE_.
Admin credentials do not work
Section titled “Admin credentials do not work”Run:
bun run seedThe command creates or refreshes the development admin and prints the current credentials.
Emails do not arrive
Section titled “Emails do not arrive”In development, Resend is not automatically live. Configure it in Convex when you need real email delivery:
npx convex env set RESEND_API_KEY <your-key>Then set your Site URL from Admin > Configure > General so email links and CORS use the right origin.
Next Steps
Section titled “Next Steps”- Initialize Your Project explains every
/red-initdecision. - Core Mental Model explains the Brief assistant loop without deep infrastructure jargon.
- Building AI Features shows how to add agents, tools, and background tasks.
- Upgrade Your Project explains
/red-updatefor future RED releases.