Prerequisites
- Node.js 18+ (recommended: 20+)
- pnpm 9.15+ —
npm install -g pnpm - Docker and Docker Compose — for local Supabase and Redis
- Git
- Xcode 15+ — for iOS app development
- XcodeGen —
brew install xcodegenfor iOS project file generation
Clone and install
Environment variables
Required: Supabase
| Variable | Description |
|---|---|
SUPABASE_URL | Supabase project URL (e.g., https://xxx.supabase.co) |
NEXT_PUBLIC_SUPABASE_URL | Same as above (exposed to client) |
SUPABASE_ANON_KEY | Supabase anonymous/public key |
NEXT_PUBLIC_SUPABASE_ANON_KEY | Same as above (exposed to client) |
SUPABASE_SERVICE_ROLE_KEY | Service role key (server-side only, full DB access) |
Required: AI and automation
| Variable | Description |
|---|---|
ANTHROPIC_API_KEY | Anthropic API key for Claude Vision (reset engine) |
BROWSERLESS_TOKEN | Browserless.io API token (reset engine) |
Optional: Integrations
| Variable | Description |
|---|---|
OPENAI_API_KEY | OpenAI API key for GPT-4o chat features |
GMAIL_CLIENT_ID | Google OAuth2 Client ID (Gmail integration) |
GMAIL_CLIENT_SECRET | Google OAuth2 Client Secret |
GMAIL_REDIRECT_URI | OAuth2 redirect URI |
EVERVAULT_APP_ID | Evervault application ID (legacy encryption) |
EVERVAULT_API_KEY | Evervault API key |
REDIS_URL | Redis connection URL (defaults to localhost:6379) |
Optional: Email (SMTP)
| Variable | Description |
|---|---|
SMTP_HOST | SMTP server hostname |
SMTP_PORT | SMTP port (default: 587) |
SMTP_USER | SMTP username |
SMTP_PASS | SMTP password |
EMAIL_FROM | Sender email address |
Start development
Start the development server