# Exporting and Importing data

There are two ways for exporting data from and to zequenze platforms:
- Export/ Import with dependencies
- Export/ Import with no dependencies

The main difference between both is that the former will export data with all its dependencies, for example, if you want to export a Page object, it will be exported with its *connection_profile, main_template, registration_service, campaign, etc.*

The latter one will only import only the object you're trying to export, so to import the exported object on another platform it is a requirement to have all the dependencies already created

Below you can find some examples:

#### Export with no dependencies:
First, you must select the elements you want to export

[![no-dep-2.png](https://docs.zequenze.com/uploads/images/gallery/2020-07/scaled-1680-/62ca5BaweSz1alOc-no-dep-2.png)](https://docs.zequenze.com/uploads/images/gallery/2020-07/62ca5BaweSz1alOc-no-dep-2.png)

Once selected, click on the **Export** button located on the top right corner of the model principal view
[![no-dep-1.png](https://docs.zequenze.com/uploads/images/gallery/2020-07/scaled-1680-/yTwXQZ7YFs62At6G-no-dep-1.png)](https://docs.zequenze.com/uploads/images/gallery/2020-07/yTwXQZ7YFs62At6G-no-dep-1.png)

An export screen will be shown where you can select the type of file to be exported, select the desired format and hit the **Proceed** button

[![no-dep-4.png](https://docs.zequenze.com/uploads/images/gallery/2020-07/scaled-1680-/7GEvYGuremTj2OiD-no-dep-4.png)](https://docs.zequenze.com/uploads/images/gallery/2020-07/7GEvYGuremTj2OiD-no-dep-4.png)

Finally, you'll get your file downloaded

[![no-dep-7.png](https://docs.zequenze.com/uploads/images/gallery/2020-07/scaled-1680-/AfOX04tGWNpgu6Yk-no-dep-7.png)](https://docs.zequenze.com/uploads/images/gallery/2020-07/AfOX04tGWNpgu6Yk-no-dep-7.png)

#### Import with no dependencies:

To import with no dependencies it will be required to have a file generated by the export with no dependencies process, with the file in hand click on the **Import** button located on the top right corner of the model principal view:

[![no-dep-1.png](https://docs.zequenze.com/uploads/images/gallery/2020-07/scaled-1680-/yTwXQZ7YFs62At6G-no-dep-1.png)](https://docs.zequenze.com/uploads/images/gallery/2020-07/yTwXQZ7YFs62At6G-no-dep-1.png)

A form screen will appear where you have to select the file to be uploaded as well as its format, then hot the **Proceed** button:

[![no-dep-6.png](https://docs.zequenze.com/uploads/images/gallery/2020-07/scaled-1680-/GpcDTR3MyZUKKIeF-no-dep-6.png)](https://docs.zequenze.com/uploads/images/gallery/2020-07/GpcDTR3MyZUKKIeF-no-dep-6.png)

A confirmation screen will be shown, you may double-check the data to be uploaded, once checked hit the **Confirm import** button

[![no-dep-8.png](https://docs.zequenze.com/uploads/images/gallery/2020-07/scaled-1680-/XqGYrQPVQwl5ryEE-no-dep-8.png)](https://docs.zequenze.com/uploads/images/gallery/2020-07/XqGYrQPVQwl5ryEE-no-dep-8.png)

if everything goes well, you'll see a success message on the bottom right corner of the model principal view.

#### Export with dependencies:
When a model can be exported with dependencies, **Export with dependencies** button will be available under the search bar

[![export-button.png](https://docs.zequenze.com/uploads/images/gallery/2020-07/scaled-1680-/GfZLmESkxtEIXL7B-export-button.png)](https://docs.zequenze.com/uploads/images/gallery/2020-07/GfZLmESkxtEIXL7B-export-button.png)

Sometimes the **Export with dependencies** button will inside the action menu under the search bar

[![export-4.png](https://docs.zequenze.com/uploads/images/gallery/2020-07/scaled-1680-/wRi9m3zcwEbfCnZw-export-4.png)](https://docs.zequenze.com/uploads/images/gallery/2020-07/wRi9m3zcwEbfCnZw-export-4.png)

To start the process you can easily select the objects you want to export and click **Export with dependencies** button, for this example will be used a Page object

[![export-3.png](https://docs.zequenze.com/uploads/images/gallery/2020-07/scaled-1680-/E98QtYlp36BbXcvU-export-3.png)](https://docs.zequenze.com/uploads/images/gallery/2020-07/E98QtYlp36BbXcvU-export-3.png)

Finally, you will see a *.json* file downloaded into your computer

[![export--2.png](https://docs.zequenze.com/uploads/images/gallery/2020-07/scaled-1680-/ir5ZNi32irEJn0O1-export--2.png)](https://docs.zequenze.com/uploads/images/gallery/2020-07/ir5ZNi32irEJn0O1-export--2.png)

It's important to notice that this JSON file will be used when we want to import with dependencies

#### Import with dependencies
To begin the process of import with dependencies you should click on **Import** button located in the top right corner of the model principal view
[![import-1.png](https://docs.zequenze.com/uploads/images/gallery/2020-07/scaled-1680-/Qp5pefQ2L9U7NF2D-import-1.png)](https://docs.zequenze.com/uploads/images/gallery/2020-07/Qp5pefQ2L9U7NF2D-import-1.png)

You will see the **Import with dependencies** form

[![import-2.png](https://docs.zequenze.com/uploads/images/gallery/2020-07/scaled-1680-/OmS3v6dSlc7ZhD1r-import-2.png)](https://docs.zequenze.com/uploads/images/gallery/2020-07/OmS3v6dSlc7ZhD1r-import-2.png)

Here you must select the JSON file and the organization on which you want the object(s) to be created, 
the **Update existing** checkbox is used when the objects exist already on the organization you're trying to import.
When checked the platform will try to update the existing objects and if those don't exist they will be created.

**Note:** make sure the *.json* file is one generated by an export with dependencies process 

Once selected the *.json* file, the organization and either checked or not updating existing, you must click on **Proceed** button

[![import-3.png](https://docs.zequenze.com/uploads/images/gallery/2020-07/scaled-1680-/j4MBvmLbW0AtLLk9-import-3.png)](https://docs.zequenze.com/uploads/images/gallery/2020-07/j4MBvmLbW0AtLLk9-import-3.png)

After the process completed successfully you will see a success message on the bottom right corner on the model principal view

[![import-4.png](https://docs.zequenze.com/uploads/images/gallery/2020-07/scaled-1680-/AWpHzyFdhe8MeRqq-import-4.png)](https://docs.zequenze.com/uploads/images/gallery/2020-07/AWpHzyFdhe8MeRqq-import-4.png)