> For the complete documentation index, see [llms.txt](https://docs.usegallery.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.usegallery.com/gallery-cli/auth/authentication.md).

# Authentication

Gallery uses API token authentication to authorize with the CLI. More types of authentication (specifically Oauth) will be added shortly.

### API Token Auth

Your API token is on the settings page of your Gallery account.&#x20;

![The Settings Page with the API Token](https://3845884435-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MjCWu74P9cA2NCgkzbo%2F-Mko2Pta0OZsRDfoJw90%2F-MkpCxVmLHC00wl8S3pG%2FScreen%20Shot%202021-09-29%20at%2010.39.48%20PM.png?alt=media\&token=7b3d2776-7e28-430b-b841-3d01529d9249)

The API token authorizes you by user, and not by team, so your API token will be usable for any team you are a part of.

Then run the login command to authorize the CLI.

```
$ gallery auth login <token>
```
