dispatch login
Authenticate the CLI with AppDispatch.
Usage
dispatch login --server <SERVER_URL> --key <API_KEY>Options
| Flag | Required | Description |
|---|---|---|
--server | No | Server URL (defaults to https://api.appdispatch.com; use for self-hosted instances) |
--key | Yes | API key from Dashboard → Settings → API Keys |
Examples
dispatch login --key dk_live_abc123For self-hosted instances, pass your server URL:
dispatch login --server https://dispatch.yourcompany.com --key dk_live_abc123What it does
- Validates your API key
- Fetches the list of available projects
- Saves credentials to
~/.dispatch/credentials.json
After logging in, you can run dispatch init to connect a project.
Last updated on