Operations
Environment variables
The runtime values the app and docs site need to stay in sync.
There are two separate concerns here: app runtime variables and docs-site variables.
App runtime
The business dashboard code paths shown in the repo depend on these values:
NEXT_PUBLIC_APP_URL=https://app.usecorvex.com
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_public_supabase_key
SUPABASE_SERVICE_ROLE_KEY=your_service_role_keyDocs-site runtime
The docs site also needs its own AI-search key:
OPENROUTER_API_KEY=your_openrouter_keyGuidance
- keep public and secret values separate,
- use deployment-specific values for staging and production,
- document where each variable lives in your hosting platform,
- and rotate anything that can be revoked.