Skip to Content

Prepare for SAP BTP Development

Learn how to prepare SAP BTP and Cloud Foundry for application deployment.
You will learn
  • How to create an account for SAP BTP
  • How to configure Cloud Foundry in your SAP BTP subaccount
  • How to check and assign entitlements
manjuXManju ShankarMarch 14, 2023


  • Step 1

    To earn your badge for the whole mission, you will need to mark all steps in a tutorial as done, including any optional ones that you may have skipped because they are not relevant for you.

    You need an SAP BTP account to deploy the services and applications.

    In general, you have a choice of the following options:

    Trial: (recommended) Use a trial account if you just want to try out things and don’t want to use any of the parts of this tutorial productively. The usage is free of cost and all the services that you need for this tutorial get automatically assigned to your trial account.

    When running the tutorial with a trial account, please have in mind the following considerations:

    • Choose host region cf-us10 when creating a new trial account. This will ensure that all services required throughout the tutorial are available to your account.
    • If you use an existing trial account, make sure the host region is different from cf-ap21. Otherwise, some services required throughout the tutorial might be missing from your account. To check the host region for your account, choose About from the dropdown under your user in the top right corner of the SAP BTP cockpit.

    Live: There are multiple live landscapes available in different data centers around the globe. Live landscapes are intended for productive usage and development projects.

    Log in to complete tutorial
  • Step 2

    You can register for a trial account and have access.

    A global account, a subaccount, a Cloud Foundry org, and space with some entitlements that should be sufficient to do this tutorial are set up for you.

    Continue with Step 8: Check and assign entitlements below.

    Log in to complete tutorial
  • Step 3

    If you choose to create an account on Live, you have to select a number of services that you need to subscribe to, for example, an SAP HANA database. For each service, there are so-called entitlements, which are basically the service plans and the number of units that you want from each service. When you create an account, you need to provide these also.

    What is the term used for service assignments to your account?

    Log in to complete tutorial
  • Step 4
    1. Enter your Global Account. If you are using a trial account, choose Go To Your Trial Account.

    2. Choose Account Explorer in the left navigation pane.

    3. Choose CreateSubaccount.

      Create subaccount
    4. To fill the New Subaccount dialog, enter a Display Name.

      Use a short name for your project and add the prefix for the landscape, for example: <project name>-cf-us10. Don’t select the checkbox Neo!

    5. Enter a subdomain.

      Only valid HTTP domain characters are allowed.

    6. Choose Create.

    7. Wait for the completion of the subaccount creation.

    8. Choose the tile with your new subaccount.

    Log in to complete tutorial
  • Step 5

    This creates a Cloud Foundry (CF) Org in your subaccount. There’s always one Cloud Foundry org per subaccount. Later on, when you log on to Cloud Foundry, it asks you which Cloud Foundry org you want to log on to. For any development in you subaccount, you need to choose this org for your subaccount.

    1. Choose Enable Cloud Foundry.

    2. Enter a Cloud Foundry Org Name and choose OK (suggestion: use SAP_ as prefix, for example: SAP_<project name>).

    3. (Optional) In the left navigation pane under the section Cloud Foundry, choose Org Members and add users for your new account. Your own user should already be there. You can add other users if needed and assign a role to them.

    4. On the left-hand pane under Security, choose Administrators and add the required security administrators. Again, your user should be-filled. You can add other users if needed.

    Log in to complete tutorial
  • Step 6

    Next to Cloud Foundry orgs there are also Spaces. Each Cloud Foundry org can have 0 to n spaces, you create just one here.

    1. Open the subaccount page in SAP BTP cockpit.

    2. Choose Spaces in the left pane under the section Cloud Foundry.

    3. Choose Create Space.

    4. Enter a space name.

      If different sub projects exist in the org, use <sub project name>-<stage name>, otherwise use <stage name>; where stage name is the release stage, for example: dev, val, prod.

    5. Choose Create.

    Log in to complete tutorial
  • Step 7
    1. Open the Spaces overview in SAP BTP cockpit. You can just choose the tile for the space that was created.

    2. Choose Members in the left navigation pane.

    3. (Optional) Choose Add Members to add all required users, again your own user should already be part of the list.

    4. (Optional) Add a distribution list of your CFDeployment technical user as Space Manager if you have one.

    Log in to complete tutorial
  • Step 8

    In this section, you assign a portion of the entitlements that you’ve bought for your global account to the individual subaccounts. In this example, you have only one subaccount. However, if you have 3 subaccounts, for example, and have bought 100 units of the HTML5 service, you could assign 50 units to the first subaccount, 20 to the second, and the remaining 30 to the third subaccount.

    The following services with their service plans and entitlements are required for the different tutorial modules and will be needed throughout the tutorial.

    Service Plan Amount Unit Tutorial
    Cloud Foundry runtime MEMORY 4 GB Deploy Your Multi-Target Application (MTA)
    SAP Application Logging service standard 1 instances Deploy Your Multi-Target Application (MTA)
    SAP HANA Schemas & HDI Containers hdi-shared 1 instances Deploy Your Multi-Target Application (MTA)
    SAP HANA Cloud hana 1 instances Set Up the SAP HANA Cloud Service
    SAP Build Work Zone, standard edition standard 1 active users Subscribe to the SAP Build Work Zone, Standard Edition
    SAP Event Mesh default 1 instances Set Up Your CAP Application for Eventing

    The services mentioned below are Utility Services, no entitlement needed

    Service Plan Amount Unit Tutorial
    SAP HTML5 Application Repository service app-host 100 MB Subscribe to the SAP Build Work Zone, Standard Edition
    SAP Authorization and Trust Management service application 1 instances Deploy Your Multi-Target Application (MTA)
    1. In your subaccount, choose Entitlements in the left-hand pane.

    2. Choose Configure Entitlements.

    3. Choose Add Service Plans.

    4. Go through the Entitlements according to the table above and check/add the required plans for each of them.

    5. Choose the + or - symbol to change the quota for the services according to the table.

    6. Choose Save.

    In case you face a problem when creating a service instance or subscribing to an application later in the tutorial, please make sure you’ve added all entitlements listed in the table above.

    Log in to complete tutorial
  • Step 9
    Log in to complete tutorial
Back to top