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

Creating your free trial account in SAP BTP

Description

Create your Free Trial Account in SAP Business Technology Platform

Steps

  1. In case you don't have it already, register your own SAP Universal ID Account at https://account.sap.com

  2. Access the SAP BTP Trial at https://account.hanatrial.ondemand.com, then finalize your SAP BTP Trial account creation.

  3. Log on to the SAP BTP, and retrieve your Cloud Foundry API Endpoint and Space name.

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

    2. In the SAP BTP Cockpit, choose Go To 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.us10-001.hana.ondemand.com) and note it for future use.

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

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

    1. In the left side bar, navigate to ServicesInstances and Subscriptions .

    2. Click on the name of the SAP Business Application studio application.

    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.

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

    1. In SAP Business Application Studio, open a Terminal (TermialNew Terminal) and run the following commands (replace <<API Endpoint>> with the Cloud Foundry Endpoint you previously noted).

      Code snippet
      cf api <<API endpoint>>
      cf login
      Expand
      On login, enter your SAP BTP e-mail and password.
      Note
      In case you get an error
      Code snippet
      {"error":"invalid_grant","error_description":"User authentication failed: Unauthorized"}
      Expand
      try the following workaround:
      1. Go to https://account.sap.com/manage/accounts
      2. Reset your password using the Reset Account Password tile.
      3. Login again in the terminal.

  6. Display the list of available buildpacks.

    1. In the Terminal, enter the following command:

      Code snippet
      cf buildpacks
      Expand
      The list of available buildpacks is displayed.

Log in to track your progress & complete quizzes