> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dev.gojinko.com/llms.txt
> Use this file to discover all available pages before exploring further.

# jinko auth login

> Authenticate with Jinko (OAuth or API key).

Authenticate with Jinko (OAuth or API key).

## Usage

```bash theme={null}
jinko auth login [options]
```

## Options

| Flag            | Required | Description                                  | Default |
| --------------- | -------- | -------------------------------------------- | ------- |
| `--key <token>` | No       | API key (jnk\_...) — skip interactive prompt |         |

## Examples

```bash theme={null}
# OAuth (browser device flow, works over SSH too)
jinko auth login

# API key (skip the browser)
jinko auth login --key jnk_your_key
```

Tokens + key land in `~/.jinko/config.yaml`. The SDK picks them up automatically.
