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

# jinko auth login

> Authenticate with a Jinko API key (jnk_...). Get one from dashboard.gojinko.com → Developers → API keys.

Authenticate with a Jinko API key (jnk\_...). Get one from dashboard.gojinko.com → Developers → API keys.

## Usage

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

## Options

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

## Examples

```bash theme={null}
# Interactive (prompts for the key)
jinko auth login

# Non-interactive
jinko auth login --key jnk_your_key
```

The key lands in `~/.jinko/config.yaml`. The SDK picks it up automatically.
