> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-docs-1761.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# wandb login

Verify and store your API key for authentication with W\&B services.

By default, only store credentials locally without verifying them with W\&B. To verify credentials, set `--verify=True`.

For server deployments (dedicated cloud or customer-managed instances), specify the host URL using the `--host` flag. You can also set environment variables `WANDB_BASE_URL` and `WANDB_API_KEY` instead of running the `login` command with host parameters.

Verify and store your API key for authentication with W\&B services.

By default, only store credentials locally without verifying them with W\&B. To verify credentials, set `--verify=True`.

For server deployments (dedicated cloud or customer-managed instances), specify the host URL using the `--host` flag. You can also set environment variables `WANDB_BASE_URL` and `WANDB_API_KEY` instead of running the `login` command with host parameters.

## Usage

```bash theme={null}
wandb login [KEY] [OPTIONS]
```

## Arguments

| Argument | Description              | Required |
| :------- | :----------------------- | :------- |
| `KEY`    | No description available | No       |

## Options

| Option                 | Description                                          |
| :--------------------- | :--------------------------------------------------- |
| `--cloud`              | Login to the cloud instead of local (default: False) |
| `--host`, `--base-url` | Login to a specific instance of W\&B                 |
| `--relogin`            | Force relogin if already logged in.                  |
| `--verify`             | Verify login credentials (default: False)            |
