> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# prj.register_data

Register a flow artifact as a data asset instance.

```python theme={null}
prj.register_data(name, artifact, annotations=None, tags=None, description=None)
```

Register a Metaflow artifact as a data asset.

Parameter

Type

Description

`name`

str

Asset name (e.g., `"user_transactions"`)

`artifact`

str

Artifact name (must exist as `self.<artifact>`)

`annotations`

dict

Metadata key-value pairs (values converted to strings)

`tags`

dict

Tags for categorization

`description`

str

Human-readable description

```python theme={null}
self.features = compute_features(data)
self.prj.register_data("fraud_features", "features",
    annotations={"n_samples": len(self.features)})
```
