Skip to main content
Install Weights & Biases to track, visualize, and manage machine learning experiments of any size.
Are you looking for information on W&B Weave? See the Weave Python SDK quickstart or Weave TypeScript SDK quickstart.

Create an account

The first time you sign in, a short setup flow creates your account and connects you to an organization. Which steps you see depends on how you arrive.
1

Choose a sign-in method

Select Continue with Google, Continue with GitHub, Continue with Apple, or Continue with Microsoft, or sign up with an email address and password.If you already have Weights & Biases credentials, they work here. Select Log in instead of Sign up.
2

Verify your email

Check the inbox of the email address on your account for a verification link. If it doesn’t arrive, check your spam folder or select Resend email.
3

Sign up for an account

Enter your full name, your organization or institution, and a username. Your username becomes your profile URL, so it must be unique. A username can use only letters, numbers, underscores, and hyphens.For How will you use Forge?, select Professional for personal or business projects, or Academic for research or education.To continue, accept the Terms of Service and Privacy Policy.
4

Join your team

If your email domain matches an organization whose teams are open to you, you can join one of those teams.If you arrived through a team invitation or already belong to a team, you don’t see this step.
5

Create your organization

Name your organization. The name becomes part of its URL, as in forge.coreweave.com/my-organization.If you joined a team in the previous step, arrived through a team invitation, or already belong to a team, you don’t see this step.
6

Choose what you're working on

Select one of Train and fine-tune models, Build and evaluate agents, Run inference at scale, or I’m exploring. Your choice determines which page you see next, but it doesn’t restrict which products you can use.
When you finish the setup flow, your account is ready to use.

Create an API key

To authenticate your machine, create an API key. To create an API key, select the Personal API key or Service Account API key tab for details.
To create a personal API key owned by your user ID:
  1. Log in to Forge, then click your user profile icon and select User settings.
  2. Within API keys, select New key.
  3. Provide a descriptive name for your API key.
  4. Click Create API key.
  5. Copy the displayed API key immediately and store it securely.
W&B shows the full API key only once, when you create it. After you close the dialog, you cannot view the full API key again. Your settings display only the key ID (the first part of the key). If you lose the full API key, you must create a new one.
For secure storage options, see Store API keys securely.

Install the wandb library and log in

  1. Set the WANDB_API_KEY environment variable. Replace YOUR_API_KEY with the API key you created.
  2. Install the wandb library and log in:

Initialize a run and track hyperparameters

In your Python script or notebook, initialize a W&B run object with wandb.init(). Use a dictionary for the config parameter to specify hyperparameter names and values. Within the with statement, you can log metrics and other information to Weights & Biases.
For a complete example that simulates a training run and logs accuracy and loss metrics to Weights & Biases, see Create a machine learning training experiment.
A run is a core element of Weights & Biases. You use runs to track metrics, create logs, and track artifacts.

Create a machine learning training experiment

This mock training script logs simulated accuracy and loss metrics to Weights & Biases. Copy and paste the following code into a Python script or notebook cell and run it:
Visit your Weights & Biases dashboard to view recorded metrics such as accuracy and loss, and to see how they change during each training step. The following image shows the loss and accuracy tracked from each run. Each run object appears in the Runs column with a generated name.
A project workspace in Forge, with seven runs listed in the Runs column and their loss and accuracy charts

Next steps

Explore more Weights & Biases features:
  • Learn about and create your first run.
  • Track models, datasets, and other files with W&B Artifacts.
  • Automate hyperparameter searches and optimize models with W&B Sweeps.
  • Share models, prompts, and datasets with Registry.
  • Analyze runs, visualize model predictions, and view artifacts in your project’s dashboard.
  • Summarize findings and share updates with collaborators with W&B Reports.
  • Trace and evaluate LLM applications with W&B Weave.
Last modified on September 30, 2026