Skip to Content

Subscribe Your First Consumer to the SaaS Application

Requires Customer/Partner License
Subscribe the first consumer to the SaaS application and onboard initial administrator
You will learn
  • How to subscribe to a SaaS solution from a consumer subaccount
Sumana-vasukiSumana VasukiJuly 10, 2023
Created by
mervey45
March 21, 2023
Contributors
mervey45
jmmargo
Sumana-vasuki

Prerequisites

  • A SaaS application is deployed and available for subscription as described in previous groups of this mission
  • Step 1

    Before the consumer can access the SaaS application, they need a dedicated URL to access this. To create this, we create a new route and bind it to the approuter as an administrator for the 05 provide subaccount.

    For more information refer to the note in the Help Portal.

    1. Navigate to the “Provide” space where the application is deployed. Open the application deployed in previous tutorials and navigate to the “User-Provided Variables” section. Notice the TENANT_HOST_PATTERN. This provides a wildcard that has to match all routes of the application

      Tenant host pattern

    2. Now navigate to the “Routes” section in the space “Provide”

      Application Routes

    3. Create a new route by choosing the domain from the dropdown that matches the TENANT_HOST_PATTERN.
      The “Host Name” is derived out of the subdomain of the consumer subaccount and the TENANT_HOST_PATTERN we noticed above.
      The first part of this name is the subdomain of the consumer subaccount. This can be found in the overview section of the consumer subaccount.

      Consumer subdomain

      The second part is the route prefix in the TENANT_HOST_PATTERN. This is the part between the wildcard (.*) and the domain (selected above). The path can be left empty.
      New Route

    4. Save the newly created route

  • Step 2

    Next, we need to create a linkage between this new route for the consumer and the application router we created in previous tutorials.

    To do this, under “Routes” in the space “Provide”:

    1. Click the “map route” button.

    2. Select the application deployed in previous tutorials.

    3. Save.

    Map Route to App
  • Step 3
    1. Navigate to the consumer subaccount and go to the “Instances and Subscriptions” tab.
    2. Click “Create” and choose the SaaS application deployed in previous tutorials.
      Subscribe to App
    3. Wait for the status to change to “Subscribed”. The initial subscription initiates the creation of an ABAP system and the installation of the add-on product in this system. Therefore, this step may take a few hours.
      Subscribed
  • Step 4

    To enable the onboarding of the initial administrator follow the below steps:

    1. Navigate to the consumer subaccount.
    2. Go to the “Role Collections” section.
    3. Add your user to the role collection containing the solution admin role for the application deployed by you in previous tutorials.
    Solution Admin
  • Step 5

    To access your provider’s SaaS application for the first time, you, as consumer, need to go through an onboarding process.

    1. Open the URL your provider has sent you to get access to their SaaS application. This is the URL added as a route for the consumer subaccount in step 1 of this tutorial.

    2. On the initial administrator onboarding screen, you can see your email address, subdomain and subaccount id. Click Onboard User to start the onboarding process.

      Initial administrator onboarding

      Click OK in the confirmation dialog

      User provisioning confirmation

    This might take a few minutes. Once the process is finished, you will be redirected to the Fiori Launchpad of the new ABAP tenant/system. This onboarding process only needs to be done once per consumer.

    From now on, the consumer can access the SaaS application via the consumer-specific URL.

  • Step 6

    Which of the following is true for a consumer subscribing to a SaaS application on SAP BTP, ABAP Environment? Assume tenant mode is set to "multi" and consumer_tenant_limit has the default value

Back to top