Configuration is read from the environment, usually through a .env file created from .env.example.

Required

ENCRYPT_KEY encrypts the OAuth tokens of every connected integration. Changing it makes all previously connected integrations unreadable. Back it up with your other secrets — see Secrets.

Security and JWT

CORS

OAuth — user login

OAuth — workspace integrations

These are separate OAuth applications from the login ones: they carry the scopes agents need to read Drive, send mail, or list Teams chats.

Gmail Pub/Sub webhooks

See Gmail webhooks for the full setup.

RAG and webhooks

RAG_WEBHOOK_SECRET ships with a default value. A secret left at its documented default is not a secret — set it explicitly in production.

S3 storage (optional)

Stripe billing (optional)

Scheduler / Mage (optional)

Extensions

Empty means no extension: the core runs on its own. See Editions.