# Import and Export

The Import and Export feature is useful when you want to move your value streams from one tenant to another for example, from your test environment to production.

<figure><img src="https://1024162941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrSc4haeKWrTrOPHzdrMO%2Fuploads%2Fgit-blob-232a78c896f2b8b9fcc69296444699a56768d2dc%2Fvs_export.png?alt=media" alt=""><figcaption></figcaption></figure>

### Exporting a value stream

{% stepper %}
{% step %}

#### Choose the process you want to export

Go to the **Value Streams** view, and choose the three dots icon next to the process you want to export.
{% endstep %}

{% step %}

#### Choose **Export Value Stream**

The process gets automatically exported and downloaded as a `.json` file.
{% endstep %}
{% endstepper %}

### Importing a value stream

{% stepper %}
{% step %}

#### Choose the **Import** button

Go to the **Value Streams** and choose the **Import** button at the top right, above the list of processes.
{% endstep %}

{% step %}

#### Upload the `.json` file

Upload the `.json` file containing your process - you can either drag and drop the file or select it using the standard file browser. If you selected the wrong file, choose **Cancel** to choose another one. To abandon the entire operation, choose **Discard**.
{% endstep %}

{% step %}

#### Start the import

Choose **Import**. The process gets automatically added to your value streams list, with the **Last published** date showing the import date.

<figure><img src="https://1024162941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrSc4haeKWrTrOPHzdrMO%2Fuploads%2Fgit-blob-8b4373343f5ecda2ef41acdef241bc3964bbd55f%2Fvs_import.png?alt=media" alt="" width="350"><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

The value streams are imported along with:

* Events - the events that you use in your process are imported and added to events registry in the tenant
* Make scenarios - all the scenarios that are used in your process are imported in the same configurations
* Subflows - when you have subflows configured in your process, the linked process is imported as well
* Conditions - the process is imported together with conditions applied at the steps levels
* Rulestore - the rules set up for your value stream are reflected in the new tenant
* Forms - forms used by the value stream are copied to the new tenant as well

{% hint style="warning" %}

* If any of your Make scenarios include connections that don’t exist in the target tenant, you need to recreate those connections. For example, if you have a Gmail connection in your test tenant, you need to set it up again in the production tenant.
* Currently, cloud function connectors can't be exported/imported together with a value stream.
  {% endhint %}
