Space 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, AES-GCM (shared w/ workflows)
S3_ENDPOINTObject storage
OTEL_EXPORTER_OTLP_ENDPOINTTracing
PORTAL_JWT_SECRETPortal auth token secret
TEMPORAL_ADDRESSTemporal server