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

# Authentication

> Authenticate the sqd CLI with SQD Cloud — exchange your account credentials for an API token and run authenticated deploy and admin commands.

# `sqd auth`

Log in to the Cloud

* [`sqd auth`](#sqd-auth)

## `sqd auth`

Log in to the Cloud

```
USAGE
  $ sqd auth -k <value> [--interactive]

FLAGS
  -k, --key=<value>       (required) Cloud auth key. Log in to https://app.subsquid.io to create or update your key.
      --[no-]interactive  Disable interactive mode
```

*See code: [src/commands/auth.ts](https://github.com/subsquid/squid-cli/tree/master/src/commands/auth.ts)*
