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

# How do I log in to W&B Self-Managed?

To authenticate to a [W\&B Self-Managed](/platform/hosting/hosting-options/self-managed) instance, point the CLI and SDK at your instance URL before you log in:

* Set [`WANDB_BASE_URL`](/models/track/environment-variables) to your instance URL, or
* Pass `--host` to [`wandb login`](/models/ref/cli/wandb-login)

Run `wandb status` to confirm the host and API key.

***

<Badge stroke shape="pill" color="orange" size="md">[User Management](/support/models/tags/user-management)</Badge>
