Skip to main content
Configuration is read from the environment, usually through a .env file created from .env.example.

Required

.env.example also carries TEST_TOKEN. Nothing in the server reads it — it is leftover from an earlier version. Setting it changes nothing; leaving it out breaks nothing.
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 — workspace integrations

These OAuth applications carry the scopes agents need to read Drive, send mail, or list Teams chats. They authorise an agent to act on a service — they are not how a user signs in.
Signing in with an identity provider — GitHub, Google, Microsoft, LinkedIn — is part of a commercial edition and is absent here. The open-source build authenticates with email and password. See Editions.

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.