Claude Code · Automation and CI
Use an API key
Authenticate with an API key from the environment instead of signing in, which suits CI.
export ANTHROPIC_API_KEY="your-api-key"
Official Claude Code documentation
Claude Code · Automation and CI
Authenticate with an API key from the environment instead of signing in, which suits CI.
export ANTHROPIC_API_KEY="your-api-key"
Official Claude Code documentation
Was this page helpful?