---
title: "subako login"
description: "Sign in via the device-authorization flow"
---

[CLI reference](/cli)

## `subako login`

Sign in via the device-authorization flow

### Usage

```text
Usage: subako login [OPTIONS] --org <ORG>
```

### Options

#### `--org <ORG>`

Organization handle to sign in to

- Required.

#### `--server <SERVER>`

Base URL of the Subako server to authenticate against

- Environment variable: `SUBAKO_SERVER`.
- Default: `https://api.us.cloud.subako.ai`.

#### `--profile <PROFILE>`

Credential profile to store the login under. Defaults to the organization handle


#### `--credentials-file <CREDENTIALS_FILE>`

Path to the credentials file. Defaults to SUBAKO_CREDENTIALS_FILE, then ~/.config/subako/credentials.json.


#### `--help`

Print help

- Short option: `-h`.
