> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-docs-1778-mysql-updates.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Create a registered model to hold all the candidate models for your modeling tasks.

# Create a registered model

Create a [registered model](./model-management-concepts#registered-model) to hold all the candidate models for your modeling tasks. You can create a registered model interactively within the Model Registry or programmatically with the Python SDK.

## Programmatically create registered a model

Programmatically register a model with the W\&B Python SDK. W\&B automatically creates a registered model for you if the registered model doesn't exist.

Ensure to replace other the values enclosed in `<>` with your own:

```python theme={null}
import wandb

run = wandb.init(entity="<entity>", project="<project>")
run.link_model(path="<path-to-model>", registered_model_name="<registered-model-name>")
run.finish()
```

The name you provide for `registered_model_name` is the name that appears in the [Model Registry](https://wandb.ai/registry/model).

## Interactively create a registered model

Interactively create a registered model within the [Model Registry](https://wandb.ai/registry/model).

1. Navigate to the [Model Registry](https://wandb.ai/registry/model).

<Frame>
  <img src="https://mintcdn.com/wb-21fd5541-docs-1778-mysql-updates/ch31eEQYXaEOYsuD/images/models/create_registered_model_1.png?fit=max&auto=format&n=ch31eEQYXaEOYsuD&q=85&s=406864ac2468dd93f7f4bb2ac29ab438" alt="Model Registry landing page" width="2150" height="1282" data-path="images/models/create_registered_model_1.png" />
</Frame>

2. Click the **New registered model** button located in the top right of the Model Registry page.

<Frame>
  <img src="https://mintcdn.com/wb-21fd5541-docs-1778-mysql-updates/ch31eEQYXaEOYsuD/images/models/create_registered_model_model_reg_app.png?fit=max&auto=format&n=ch31eEQYXaEOYsuD&q=85&s=9c6a4acfac8ffbb69429bbbcf36c6ef5" alt="New registered model button" width="3444" height="1968" data-path="images/models/create_registered_model_model_reg_app.png" />
</Frame>

3. From the panel that appears, select the entity you want the registered model to belong to from the **Owning Entity** dropdown.

<Frame>
  <img src="https://mintcdn.com/wb-21fd5541-docs-1778-mysql-updates/ch31eEQYXaEOYsuD/images/models/create_registered_model_3.png?fit=max&auto=format&n=ch31eEQYXaEOYsuD&q=85&s=1dba77d48e245cd54190c73ced63d752" alt="Model creation form" width="2126" height="1932" data-path="images/models/create_registered_model_3.png" />
</Frame>

4. Provide a name for your model in the **Name** field.
5. From the **Type** dropdown, select the type of artifacts to link to the registered model.
6. (Optional) Add a description about your model in the **Description** field.
7. (Optional) Within the **Tags** field, add one or more tags.
8. Click **Register model**.

<Note>
  Manual linking a model to the model registry is useful for one-off models. However, it is often useful to [programmatically link model versions to the model registry](/models/registry/model_registry/link-model-version/#programmatically-link-a-model).

  For example, suppose you have a nightly job. It is tedious to manually link a model created each night. Instead, you could create a script that evaluates the model, and if the model improves in performance, link that model to the model registry with the W\&B Python SDK.
</Note>
