> ## 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.

> Manage your profile information, account defaults, alerts, participation in beta products, GitHub integration, storage usage, account activation, and create teams in your user settings.

# Manage user settings

Your user settings let you manage your profile, default team, API keys, alerts, integrations, and other account-level options. This page describes each section of the user settings and how to use it.

To open your user settings, navigate to your user profile page and select your user icon on the top right corner. From the dropdown, choose **Settings**.

## Profile

In the **Profile** section, you can manage and modify your account name and institution. You can optionally add a biography, location, link to a personal or your institution's website, and upload a profile image.

### Edit your intro

Your intro appears at the top of your profile and is a good place to introduce yourself, link to projects, or share related accounts.

To edit your intro, click **Edit** at the top of your profile. The WYSIWYG editor that opens supports Markdown.

1. To edit a line, click it. To save time, type `/` and choose Markdown from the list.
2. To move an item, use its drag handles.
3. To delete a block, click the drag handle, then click **Delete**.
4. To save your changes, click **Save**.

Your updated intro is now visible on your profile.

#### Add social badges

To add a follow badge for the `@weights_biases` account on X, add a Markdown-style link with an HTML `<img>` tag that points to the badge image:

```markdown theme={null}
[![X: @weights_biases](https://img.shields.io/twitter/follow/weights_biases?style=social)](https://x.com/intent/follow?screen_name=weights_biases)
```

In an `<img>` tag, you can specify `width`, `height`, or both. If you specify only one, the image keeps its proportions.

## Default team

If you're a member of more than one team, the **Default team** section lets you configure the default team to use when a run or a Weave trace doesn't specify a team. If you're a member of only one team, that team is the default and this section doesn't appear.

The steps to set your default team differ depending on your deployment. Select the tab that matches your environment.

<Tabs>
  <Tab title="Multi-tenant Cloud">
    Next to **Default location to create new projects in**, click the dropdown, then select your default team.
  </Tab>

  <Tab title="Dedicated Cloud / Self-Managed">
    1. Next to **Default location to create new projects in**, click the dropdown, then select your default team or your personal entity.
    2. **Optional:** If an admin has turned on public projects in **Account** > **Settings** > **Privacy**, configure the default visibility for your new projects. Click the button next to **Default project privacy in your personal account**, then select **Private** (the default) or **Public**.
    3. **Optional:** If an admin has turned on [default saving and diffing code](/models/app/features/panels/code/) in **Account** > **Settings** > **Privacy**, click **Enable code saving in your personal account** to turn it on for your runs.
  </Tab>
</Tabs>

<Note>
  To specify the default team when you're running a script in an automated environment, specify the default location with the `WANDB_ENTITY` [environment variable](https://docs.wandb.ai/models/track/environment-variables).
</Note>

## Teams

The **Teams** section lists all of your teams.

* Click a team name to go to the team page.
* If you have permission to join additional teams, click **View teams** next to **We found teams for you to join**.
* **Optional:** Turn on **Hide teams in public profile**.

<Note>
  To create or manage a team, see [Manage teams](/platform/app/settings-page/teams/).
</Note>

## API keys

The **API Keys** section lets you manage your personal API keys for authenticating with W\&B services. From this section, you can review existing keys, create new ones, and revoke keys you no longer need.

### View your API keys

The API keys table displays:

* **Key ID**: The first part of each API key, used for identification.
* **Name**: A descriptive name you provided when you created the key.
* **Created**: When the key was created.
* **Last used**: The most recent usage timestamp.

<Note>
  For security, the table shows only the key ID (the first part of the key). The full secret API key appears only once, when you create it.
</Note>

To filter the list of API keys, enter a partial key name or ID.

### Create a new API key

To create an API key, select the **Personal API key** or **Service Account API key** tab for details.

<Tabs>
  <Tab title="Personal API key">
    To create a personal API key owned by your user ID:

    1. Log in to W\&B, click your user profile icon, then click **User Settings**.
    2. Click **Create new API key**.
    3. Provide a descriptive name for your API key.
    4. Click **Create**.
    5. Copy the displayed API key immediately and store it securely.
  </Tab>

  <Tab title="Service account API key">
    To create an API key owned by a service account:

    1. Navigate to the **Service Accounts** tab in your team or organization settings.
    2. Find the service account in the list.
    3. Click the **action (<Icon icon="ellipsis" iconType="solid" />)** menu, then click **Create API key**.
    4. Provide a name for the API key, then click **Create**.
    5. Copy the displayed API key immediately and store it securely.
    6. Click **Done**.

    You can create multiple API keys for a single service account to support different environments or workflows.
  </Tab>
</Tabs>

<Warning>
  The full API key is only shown once at creation time. After you close the dialog, you cannot view the full API key again. Only the key ID (first part of the key) is visible in your settings. If you lose the full API key, you must create a new API key.
</Warning>

For secure storage options, see [Store API keys securely](/platform/app/settings-page/user-settings/#store-and-handle-api-keys-securely).

### Delete an API key

Delete an API key when you no longer need it or when it may have been exposed. To revoke access by deleting an API key:

1. Find the key you want to delete in the API keys table.
2. Click the delete button next to the key.
3. Confirm the deletion.

W\&B removes the key from the table, and you can no longer use it to authenticate.

<Warning>
  Deleting an API key immediately revokes access for any scripts or services that use that key. Before you delete the old key, make sure you've updated all systems to use a new key.
</Warning>

## Store and handle API keys securely

API keys provide access to your W\&B account and should be protected like passwords. Follow these best practices:

### Recommended storage methods

* **Secrets manager**: Use a dedicated secrets management system such as [AWS Secrets Manager](https://aws.amazon.com/secrets-manager/), [HashiCorp Vault](https://developer.hashicorp.com/vault), [Azure Key Vault](https://azure.microsoft.com/en-us/products/key-vault), or [Google Secret Manager](https://cloud.google.com/security/products/secret-manager).
* **Password manager**: Use a reputable password manager application.
* **OS-level keychains**: Store keys in macOS Keychain, Windows Credential Manager, or Linux secret service. Not suggested for production.

### What to avoid

* Never commit API keys to version control systems such as Git.
* Do not store API keys in plain text configuration files.
* Do not pass API keys on the command line, because they will be visible in the output of OS commands like `ps`.
* Avoid sharing API keys through email, chat, or other unencrypted channels.
* Do not hard-code API keys in your source code.

If an API key is exposed, delete the API key from your W\&B account immediately and contact [support](mailto:support@wandb.ai) or your AISE.

### Environment variables

When using API keys in your code, pass them through environment variables:

```bash theme={null}
export WANDB_API_KEY="your-api-key-here"
```

This approach keeps keys out of your source code and makes it easier to rotate them when needed.

<Warning>
  Avoid setting the environment variable in line with the command, because it will be visible in the output of OS commands like `ps`:

  ```bash theme={null}
  # Avoid this pattern, which can expose the API key in process managers
  export WANDB_API_KEY="your-api-key-here" ./my-script.sh
  ```
</Warning>

### SDK version compatibility

New API keys are longer than legacy keys. When authenticating with older versions of the `wandb` or `weave` SDKs, you may encounter an API key length error.

**Solution**: Update to a newer SDK version:

* `wandb` SDK v0.22.3+

  ```bash theme={null}
  pip install --upgrade wandb==0.22.3
  ```
* `weave` SDK v0.52.17+
  ```bash theme={null}
  pip install --upgrade weave==0.52.17
  ```

If you cannot upgrade the SDK immediately, set the API key using the `WANDB_API_KEY` environment variable as a workaround.

## Beta features

In the **Beta Features** section, you can optionally enable add-ons and previews of products in development. Select the toggle switch next to the beta feature you want to enable.

## Alerts

Get notified when your runs crash or finish, or set custom alerts with [`wandb.Run.alert()`](/models/runs/alert/). You receive notifications through email or Slack. Toggle the switch next to the event type you want to receive alerts for:

* **Runs finished**: Notify you when a W\&B run successfully finishes.
* **Run crashed**: Notify you when a run fails to finish.

For more information about how to set up and manage alerts, see [Send alerts with `wandb.Run.alert()`](/models/runs/alert/).

## Personal GitHub integration

Connect a personal GitHub account so that W\&B can access GitHub resources on your behalf. To connect a GitHub account:

1. Select the **Connect Github** button. W\&B redirects you to an open authorization (OAuth) page.
2. In the **Organization access** section, select the organization to grant access.
3. Select **Authorize wandb**.

Your personal GitHub account is now linked to your W\&B account.

## Delete your account

Select the **Delete Account** button to delete your account.

<Warning>
  You can't reverse account deletion.
</Warning>

## Storage

The **Storage** section describes the total memory your account has consumed on the W\&B servers. The default storage plan is 100 GB. For more information about storage and pricing, see the [Pricing](https://wandb.ai/site/pricing) page.
