---
parser: v2
author_name: Thomas Jung
author_profile: https://github.com/jung-thomas
primary_tag: products>sap-hana
tags: [  tutorial>beginner  ]
time: 10
slug: xsa-mta-package-transport
canonical_url: https://developers.sap.com/tutorials/xsa-mta-package-transport
---

# SAP HANA XS Advanced - Package your MTA application for transport
<!-- description --> Transport your XS Advanced application for transport

## Prerequisites  
 - This tutorial is designed for SAP HANA on premise and SAP HANA, express edition. It is not designed for SAP HANA Cloud.
 - **Tutorials:** [SAP HANA XS Advanced tutorial - Getting started](https://developers.sap.com/group.hana-xsa-get-started.html) or [SAP HANA XS Advanced tutorial - Node.js](https://developers.sap.com/group.hana-xsa-nodejs.html) or [SAP HANA XS Advanced tutorial - SAPUI5](https://developers.sap.com/group.hana-xsa-sapui5.html)


## You will learn  
  - How to migrate your Multi Target Application into another server

---

### Build your MTA application


Right-click on your project and select **Build->Build**

This will take several minutes to complete.  
![Build](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-mta-package-transport/build.png)


### Download and upload your MTA application


You will find a new folder named `mta_archieves` and within a folder for your project.  Within this folder is the `MTAR` archive for your application.

Export the .`mtar `file into a local directory in your computer:

![Export](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-mta-package-transport/export.png)



### Deploy the MTAR file


As a user with the proper permissions, for example, `hxeadm` if you are using SAP HANA, express edition, execute the XS CLI.

>Notes: If required, login to `xs` first using command `xs login`. Additionally, If you have created a user-provided service, you will need to create it with the proper `xs cups` command first.

</br>

Use command `xs deploy` followed by the proper file:

![Deploy from CLI](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-mta-package-transport/deploy.png)

Make sure it finished successfully:
![Deploy finished](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-mta-package-transport/deploy2.png)


### Check your application


You can now check the services have been deployed using XS services:

![Deploy finished check](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-mta-package-transport/check.png)

And the application using `xs apps` in the corresponding space (for example, development in HANA express edition):

![Deploy finished check](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-mta-package-transport/apps.png)

