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

# `snowglobe login`

> Authenticate the `snowglobe` CLI with Snowglobe.

<Note>
  As of client `1.0.0`, this command is named `login` (previously `auth`).
</Note>

## Authenticate via browser

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

This opens a browser window to authenticate with Snowglobe.

<Note>
  If the browser does not open automatically, copy the printed URL into your browser, or use the environment variable method below.
</Note>

## Authenticate with API key (non-interactive)

Set an API key (from the [Snowglobe dashboard](https://snowglobe.so/app/keys)) as an environment variable and then rerun the `snowglobe login` command

```bash theme={null}
export SNOWGLOBE_API_KEY=your_api_key
```
