---
parser: v2
author_name: Thomas Jung
author_profile: https://github.com/jung-thomas
primary_tag: products>sap-hana
tags: [  tutorial>beginner, topic>big-data, topic>html5, topic>odata, topic>sapui5, products>sap-hana, products>sap-hana\,-express-edition ]
slug: xsa-ml-e2e-github-mta
canonical_url: https://developers.sap.com/tutorials/xsa-ml-e2e-github-mta
---

# Connect to GitHub and create an MTA application
<!-- description --> Access SAP web IDE for SAP HANA and create an MTA application from a GitHub repository

## Prerequisites
 - This tutorial is designed for SAP HANA on premise and SAP HANA, express edition. It is not designed for SAP HANA Cloud.
 - **Proficiency:** Beginner

## You will learn  
Create a Multi Target Project by cloning a repository from GitHub.
## Time to Complete
**15 Min**

---

### Create a GitHub Repository


[Log in or create an account in Git Hub](https://github.com/). Create a new repository:

![Create a New repo](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-ml-e2e-github-mta/1.png)

You can choose any name you want and click on **Create Repository**:

![Create a New repo](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-ml-e2e-github-mta/2.png)

Once created, click on the **Clone or download** and **copy the URL** so you have it handy. Keep this tab **open**.

![Create a New repo](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-ml-e2e-github-mta/3.png)


### Connect to SAP Web IDE for SAP HANA


Open a new **incognito browser** on the web browser and enter the following address `https://hxehost:53075`. If you get a security warning because the certificate is self-signed, click on **Proceed to `hxehost`**:

![Proceed to webIDE](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-ml-e2e-github-mta/proceed.png)

You will be routed to the User Account and Authentication service and prompted for your log in. Use user `XSA_DEV` and the password you entered during setup:

![UAA login](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-ml-e2e-github-mta/UAA.png)

Once the Web IDE has loaded, you will clone your GitHub repository:

Right-click on the Workspace and then on `Git->Clone Repository`.
![Clone git](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-ml-e2e-github-mta/4.png)

Then copy the URL from your Git Hub repository:

![Clone git](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-ml-e2e-github-mta/5.png)

Enter your GitHub username and password if prompted:

![Clone git](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-ml-e2e-github-mta/6.png)


You should see a single project in your workspace:

![Project in workspace](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-ml-e2e-github-mta/cloned.png)



### Set the space


You need to set the space for your cloned project.

Right-click on the project and then on **Project Settings**:

![Project in workspace](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-ml-e2e-github-mta/12.png)

Go into the Space and select `development`. Click on **Save**:

![Project in workspace](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-ml-e2e-github-mta/13.png)


### Sync your application


Open the GitHub pane using the button on the right side bar:

![GitHub pane](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-ml-e2e-github-mta/14.png)

Select the master branch and click on **Stage all**

![GitHub sync](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-ml-e2e-github-mta/15.png)

Enter a comment for the initial commit and click on **Commit and Push**

![GitHub sync](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-ml-e2e-github-mta/16.png)

You will be prompted for your GitHub account details:

![GitHub sync](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-ml-e2e-github-mta/popup.png)

**You can do this at any time you want to save your progress into your GitHub repository.**

Finally, open the `mta.yaml` file that has been created automatically. Copy the contents in the **Code Editor** tab and paste them in the box below. Click on **validate**:

![Validate](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/xsa-ml-e2e-github-mta/Code.png)

