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

# glasser login

> Log in through the browser and store a Key.

## Usage

```bash theme={null}
glasser login [--no-browser]
```

Log in through the browser and store a Key. The terminal prints an 8-character match code and opens the console's authorize page; approve only when the code on the page matches the terminal. The CLI then prints which Workspace it logged into.

## Flags

| Flag | Description |
| - | - |
| `--no-browser` | Print the URL instead of opening a browser |

See [CLI conventions](/docs/cli#global-flags) for global flags, JSON mode, exit codes, and environment variables.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.