Documentation

Authentication & API Keys

Create API keys for the CLI and automation.

Use API keys for CLI access, CI jobs, and automation that call the Connect RPC API.

Create an API key (SaaS UI)

  1. Open your workspace in the dashboard.
  2. Go to API Keys.
  3. Click Create API key, name it, and copy the token.

Environment variables

Set the API key for CLI and worker processes:

GITHOOK_API_KEY=your-api-key

Optional overrides:

GITHOOK_API_BASE_URL=https://api.your-domain.com
GITHOOK_CONFIG_PATH=./config.yaml

Headers

The API key is sent as x-api-key on Connect RPC requests.