Skip to Content

Connect to GitHub and create an MTA application

Access SAP web IDE for SAP HANA and create an MTA application from a GitHub repository
You will learn

Create a Multi Target Project by cloning a repository from GitHub.

jung-thomasThomas JungNovember 1, 2021
Created by
Lsubatin
September 21, 2017
Contributors
Lsubatin
jung-thomas

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
  • Step 1

    Log in or create an account in Git Hub. Create a new repository:

    Create a New repo

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

    Create a New repo

    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
  • Step 2

    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

    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

    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

    Then copy the URL from your Git Hub repository:

    Clone git

    Enter your GitHub username and password if prompted:

    Clone git

    You should see a single project in your workspace:

    Project in workspace
  • Step 3

    You need to set the space for your cloned project.

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

    Project in workspace

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

    Project in workspace
  • Step 4

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

    GitHub pane

    Select the master branch and click on Stage all

    GitHub sync

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

    GitHub sync

    You will be prompted for your GitHub account details:

    GitHub sync

    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
Back to top