> ## 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.

# sqd auth

> Log in to SQD Cloud with the sqd auth CLI command — exchange your account credentials for an API token to authenticate sqd deploy and other commands.

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)*
