ZRM Docs
Getting Started

Key vars (see .env.example):

VariablePurpose
DATABASE_URLPostgreSQL connection
NEXT_PUBLIC_API_URLtRPC endpoint for frontend
AI_PROVIDER / AI_MODEL / AI_API_KEYLLM config
GOOGLE_CLIENT_ID / CLIENT_SECRET / REDIRECT_URIOAuth
GOOGLE_TOKEN_ENCRYPTION_KEY64 hex chars (32 bytes) — AES-GCM for refresh-token encryption at rest (shared with @zrm/workflows)
S3_ENDPOINTObject storage
OTEL_EXPORTER_OTLP_ENDPOINTTracing
PORTAL_JWT_SECRETPortal auth token secret
TEMPORAL_ADDRESSTemporal server