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

# Uploading Model Artifacts

> Learn how to upload model artifacts to Fiddler. Follow the steps to add a model using the model creation function and set a baseline for it.

# Uploading Model Artifacts

Before uploading your model artifact into Fiddler, you need to add the model using [model.create](/developers/python-client-guides/model-onboarding/create-a-project-and-model) function as well as [create a baseline for it](/developers/python-client-guides/publishing-production-data/creating-a-baseline-dataset).

Once you have prepared the [model artifact directory](/observability/explainability/artifacts-and-surrogates), you can upload your model.

**Upload the artifact**

```python theme={null}

job = model.add_artifact(
    model_dir=MODEL_ARTIFACTS_DIR,
)
job.wait()
```
