> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/resilience-testing/chaos-engineering/chaos-experiments/export-chaos-experiment.md).

# Export chaos experiment

This topic describes how to export an experiment by downloading the experiment manifest, uploading a manifest to create an experiment and exporting an experiment for future use.

### Prerequisites <a href="#prerequisites" id="prerequisites"></a>

* [Create Experiment](/resilience-testing/chaos-engineering/chaos-experiments/create-experiments.md)
* [Run or Schedule Experiment](/resilience-testing/chaos-engineering/chaos-experiments/run-experiments.md)

You can export chaos experiments for future use. While creating or running an experiment, Chaos Studio automatically saves it for future access through the **Chaos Experiments** sidebar. You can also download the experiment as a manifest file to your machine or save it in a ChaosHub.

### Download Experiment Manifest File <a href="#download-experiment-manifest-file" id="download-experiment-manifest-file"></a>

1. To download the manifest file for an experiment, select the **Chaos Experiments** sidebar option. You can access all the experiments that have been created or run in the past.
2. To export an experiment, select the **`⋮`** icon against the name of the experiment. Select **Download Manifest**. This downloads the experiment file to your machine.

   ![Download Experiment Manifest](/files/x96bdXqU4NVVZLz8GUEI)
3. You can directly upload this manifest file while creating a new experiment to use it as a template for the new experiment. You can, as usual, provide the **Name**, **Infrastructure type**, and **Infrastructure** for the chaos experiment and select **Upload YAML**. You can upload the manifest file from your machine or drag and drop the file.

   ![upload yaml](/files/iKXv8X0Cg31AZR7OY9G4)

{% hint style="info" %}
**NOTE**

An efficient way to save, manage, and distribute the experiments as templates is to use ChaosHubs.
{% endhint %}

### Add an Experiment to ChaosHub <a href="#add-an-experiment-to-chaoshub" id="add-an-experiment-to-chaoshub"></a>

1. To add an experiment to ChaosHub, select the **`⋮`** icon against the name of the experiment.
2. Select **Add to Chaos Hub**. Then, add an experiment name, optionally a description and a category tag, and choose the ChaosHub to add the experiment to from the list of added chaos hubs.

   ![Add Experiment to ChaosHub](/files/PKU6Z7WnNO0bVkUqITqY)
3. Select **Save**. Now, you should be able to see this experiment added to your chaos hub. You can access it and use it as a template for your new experiments.

   ![Added Experiment to Hub](/files/EucGYXD6RK1IpLjmXU1e)

### Next Steps <a href="#next-steps" id="next-steps"></a>

* [Alerts for Experiments](/resilience-testing/chaos-engineering/chaos-experiments/alert-integration.md)
* [Runtime Variable Support for Experiments](/resilience-testing/chaos-engineering/chaos-experiments/fault-template.md)
