Environment Variables

Every .env variable used by CAF Orchestrator, gathered in one page.

A full reference of the .env variables mentioned across the other docs pages — gathered here so you don't have to jump between pages during setup.

Core

VariableRequiredDescription
REDIS_URLYesConnection to the Redis instance used for the BullMQ queue
CLAUDE_CODE_TOKENYesCredential used to run Claude Code headlessly
WEBHOOK_SECRETYesSecret used to verify incoming webhook payloads from your tracker

Tracker

VariableRequiredDescription
LINEAR_API_KEYIf using LinearPersonal API key with read access to your workspace
JIRA_API_TOKENIf using JiraAPI token from Account Settings → Security
JIRA_EMAILIf using JiraEmail of the account that created the token above
JIRA_BASE_URLIf using JiraYour Jira instance URL, e.g. https://your-team.atlassian.net

Git host

VariableRequiredDescription
GITHUB_TOKENIf your repo is on GitHubFine-grained PAT with Contents and Pull requests scope
GITLAB_TOKENIf your repo is on GitLabProject access token with write_repository and api scope

Only fill in the tracker and git host variables that match your stack — you don't need both Linear and Jira, or both GitHub and GitLab, at once.

Details on how to obtain each credential are on their respective pages: CAF Orchestrator, Linear, Jira, and GitHub / GitLab.