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

# Prerequisites

> Set up your environment for W&B Training by creating an account, generating an API key, and configuring a project.

Complete these steps before using W\&B Training features through the OpenPipe ART framework or API.

<Tip>
  Before starting, review the [usage information and limits](/training/serverless-rl/usage-limits) to understand costs and restrictions.
</Tip>

## Sign up and create an API key

To authenticate your machine with W\&B, you must first generate an 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).

## Create a project in W\&B

Create a project in your W\&B account to track usage, record training metrics, and save trained models. See the [Projects guide](https://docs.wandb.ai/models/track/project-page) for more information.

## Next steps

After completing the prerequisites:

* Check the [API reference](/training/api-reference) to learn about available endpoints
* Try the [ART quickstart](https://art.openpipe.ai/getting-started/quick-start)
