Getting Started
Key vars (see .env.example):
| Variable | Purpose |
|---|---|
DATABASE_URL | PostgreSQL connection |
NEXT_PUBLIC_API_URL | tRPC endpoint for frontend |
AI_PROVIDER / AI_MODEL / AI_API_KEY | LLM config |
GOOGLE_CLIENT_ID / CLIENT_SECRET / REDIRECT_URI | OAuth |
GOOGLE_TOKEN_ENCRYPTION_KEY | 64 hex chars (32 bytes) — AES-GCM for refresh-token encryption at rest (shared with @zrm/workflows) |
S3_ENDPOINT | Object storage |
OTEL_EXPORTER_OTLP_ENDPOINT | Tracing |
PORTAL_JWT_SECRET | Portal auth token secret |
TEMPORAL_ADDRESS | Temporal server |