Connect GitHub Actions with a guided setup →
The guided connect page mints a CI-tagged key, hands you the secret command
and workflow snippets, and confirms the moment your first pipeline request
arrives.
Why a CI key
Keys tagged as CI keys get their own treatment end to end:- Every request a pipeline makes is stamped as CI spend — shown separately from interactive usage in the Spend by Origin card on the analytics dashboard, no matter which tool the pipeline runs (Claude Code, SDK scripts, eval jobs).
- The key is auto-classified as Engineering, so no one has to answer classification questions for workflow traffic.
1. Store the key as an Actions secret
The key value lives only in your repository’s (or organization’s) Actions secrets:AIRESERVE_API_KEY.
2. Wire it into the workflow
Claude Code / claude-code-action
Claude Code reads the gateway from two env vars — the base URL is the host root, no/v1:
SDKs and scripts
Point any OpenAI-compatible SDK at the gateway’s/v1 surface: