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

# Authentication

> Learn how to authenticate with the Shard Cloud CLI.

## Get API Key

First, you need to get an API key from the [dashboard](https://shardcloud.app/pt-br/dash) `-> config -> integrations.`You can use this API key to authenticate with the Shard Cloud CLI.

## Authenticate

Authenticate with the Shard Cloud CLI using the following command:

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

You will be prompted to enter your API key.

```bash theme={null}
Your API Token:
> Insert your shard cloud api token
```

After entering your API key, you will be authenticated with the Shard Cloud CLI.

You can skip the prompt by passing your API key with the `--token` flag:

```bash theme={null}
shardcloud login --token=<API_KEY>
```

## Creating your first app with the CLI

See the [commands ](/cli/commands)section for more info about the commands and how to get started.
