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

# yocrow login

> Sign the device in with a Companion Key.

```bash theme={null}
yocrow login
```

Paste the Companion Key at the hidden prompt.

```text nocopy theme={null}
Yocrow Companion is connected.
```

JSON output returns `status`, `enrollment_id` and `credential_expires_at`.

```bash theme={null}
yocrow login --json
```

`login` requires an interactive terminal and fails with `protected_input_required` under `--non-interactive`. See [Sign in](https://docs.yocrow.dev/companion/sign-in.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.