Generate a W&B API key
A W&B API key authenticates requests against the W&B GraphQL Public API on behalf of your account.
Sign in to Weights & Biases
Sign in to your W&B account (or create a free account at wandb.ai/signup).
Open the API key page
Navigate to wandb.ai/authorize, or click your avatar in the top-right corner and go to User Settings > API keys.
Create and copy the key
Click Create new API key, provide a descriptive name, then click Create. Copy the displayed key value immediately.
- The key is shown ONLY ONCE at creation — store it somewhere secure before closing the dialog.
- W&B API keys have no scopes, permission picker, or expiration — a key inherits the full permissions of the user who minted it.
- If you lose the key, you must revoke and re-mint it.
Linking the Account from the Hub
Navigate to the Hub