Develop Advanced Extensions with SAP Cloud SDK

Exercise: Creating your Free Trial Account in SAP BTP

Objectives
After completing this lesson, you will be able to:

After completing this lesson, you will be able to:

  • Create your Free Trial Account in SAP BTP

Create your Free Trial Account in SAP BTP

Description

Create your Free Trial Account in SAP Business Technology Platform

Prerequisites

None.

Steps

  1. In case you don't have it already, create your own free account in the SAP BTP.

    1. In Google Chrome, open the URL https://www.sap.com/products/free-trials.html.

    2. Choose SAP Business Technology Platform.

    3. Scroll down to the grey section titled STUDENTS and LEARNERS: Test-drive SAP BTP at your own convenience in a test environment.. Choose Get trial now.

    4. Follow the instructions provided until the account is created. In the process, you will be required to verify your e-mail and mobile phone number. Note your account password.

      Note
      The SAP BTP trialaccounts will be replaced in the future by the free tier model accounts. The exercises in this course assume you are able to create a SAP BTP Trial account. At the moment we are publishing this course, it is still possible to create trial accounts in the US and Singapore server, while it is not possible to do it in the european server. If you are a european user, and you cannot use the european server, kindly use one of the other ones, for example the US one.
  2. Log on to the SAP BTP, and retrieve your Cloud Foundry API Endpoint and Space name.

    1. In Google Chrome, open the URL https://account.hanatrial.ondemand.com. If required, enter your e-mail and password.

    2. In the SAP BTP Cockpit, choose Enter Your Trial account. Navigate to your trial Subaccount.

    3. In the Subaccount: trial overview page, in the Cloud Foundry Environment tab, retrieve the API Endpoint (for example https://api.cf.eu10.hana.ondemand.com) and note it for future use.

    4. Note the name of existing spaces. By default, one space exists with name dev.

  3. Open the Business Application Studio, create a development space of type SAP Cloud Business Application, with name training.

    1. In Google Chrome, in the SAP BTP, navigate to the Trial Home page.

    2. Choose SAP Business Application studio.

    3. In the studio, choose Create Dev Space.

    4. In the Dev Space name, enter training.

    5. In the kind of application, choose Full Stack Cloud Application

    6. Choose Create Dev Space.

    7. Once the space is running, click on its name to open it.

  4. Using the Cloud Foundry CLI, login with your e-mail and password, target the dev space.

    1. Open a Windows PowerShell and run the following commands (replace <<API Endpoint>> with the Cloud Foundry Endpoint you previously noted, for example, https://api.cf.eu10.hana.ondemand.com).

      Code snippet
      cf api <<API endpoint>>
      cf login
      Copy code
      On login, enter your SAP BTP e-mail and password.

  5. Display the list of available buildpacks.

    1. In the PowerShell, enter the following command:

      Code snippet
      cf buildpacks
      Copy code
      The list of available buildpacks is displayed.

Save progress to your learning plan by logging in or creating an account