Skip to main content

Generate a Weights & Biases API key

The key inherits the full permissions of the user who creates it, so admin-only operations need an admin account. W&B keys have no scopes, permission picker or expiration.

1

Create a new API key

Sign in to Weights & Biases, then click your profile avatar in the top-right corner and open Account > API keys.

  • Click + New key. The Create new API key dialog opens on Step 1 of 2 : Configure key.
  • Name (optional): StackOne, so you can tell the key apart in the API keys list
  • Click Create API key.
Create new API key dialog on Step 1 of 2 Configure key with the Name field and Create API key button.
2

Copy the W&B API Key

Copy the W&B API Key across. The Your new API key dialog on Step 2 shows it once, and it starts with wandb_v1_.

  • Click Copy next to the API KEY value.
  • Alternatively, click Copy and close.
  • The dialog warns SAVE THIS KEY NOW. This is the only time you’ll see the complete key.
  • Under Key information, only the copied key is needed, not the Key ID, Name, Created date or Owner.
Your new API key dialog with the API KEY value and Copy button.

Find your team slug and project names

These fields are only needed for webhook events. Leave W&B Team (entity) and W&B Project Names (webhooks) blank otherwise.

1

Copy your team slug from the W&B sidebar (or any W&B URL)

Open the W&B home page. The left sidebar has a Teams section listing every team you belong to. Each entry is the team slug. It also appears as the segment right after wandb.ai/ in any W&B URL. For https://wandb.ai/acme-research/model-training the slug is acme-research. Copy the W&B Team (entity) across as a single value, with no https:// and no trailing slash.

Weights & Biases home page with the left sidebar Teams section highlighted, showing the team slug that matches the URL segment used in W&B project links.
2

Copy the project names from your team's projects page

Open https://wandb.ai/<team>/projects (swap in your team slug). The Name column of the projects table is exactly the project slug you paste — the same value that appears after your team slug in per-project URLs. Copy the W&B Project Names (webhooks) across as one or more names separated by commas with no spaces, for example model-training,data-pipeline,experiments.

Weights & Biases team projects page with the Name column showing project slugs, matching the value used in per-project URLs and the W&B Project Names field.
1

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.

Next Steps

Webhooks setup

Configure receiving Events for Weights & Biases into StackOne.