SAP BTP, Kyma runtime: How to get started
I hope you got excited about the newly launched SAP BTP, Kyma runtime. To get started, follow the steps outlined below.
Enabling the Kyma runtime
A Global Account in SAP BTP which is enabled for the consumption-based model (i.e. has Cloud Credits) is required to use the Kyma Runtime. Start by creating a New Subaccount and selecting “Microsoft Azure” as Provider and any desired Region. Provide the other required values and choose “Create”.
Once the creation of the subaccount has completed, open it and choose the option “Enable Kyma”. Provide a name and description, select “Microsoft Azure” as provider, and select your preferred region where the Kyma runtime should be created. It will take some time until it’s fully deployed.
Provide Authorization to access Kyma runtime
SAP BTP’s XSUAA is used for the access to the Kyma runtime. Open your sub-account, choose “Security” > “Role collections” and create a “New Role Collection”. Open the newly created item and choose “Add Role”. Search for the technical name of your Kyma runtime which you can get e.g. out of the URL of the Kyma runtime. Assign the “KymaRuntimeNamespaceAdmin” role template to this role collection and save the assignment.
Go back to the subaccount and open the menu item “Trust Configuration”, choose your IDP, and assign the newly created role collection to the respective user by searching for their e-mail address, choosing the option to “Show Assignments” and finally choosing “Assign Role Collection” to assign the role.
In some cases, it will still take 5-10 minutes to get access to Kyma Runtime and you only need to wait. Assigning the Role Collection to the user is the last step you need to do.
Connect your applications
To make use of the newly launched Management Plane service for connecting applications, go back to your Global Account. Open the menu item “System Landscape” > “Systems” in your Global Account. Choose “Register System”, provide a name and select a type for the application you want to connect. Choose “Register” to generate a one-time token which will be used by the application you want to connect. (example descriptions of this process can be found for SAP Commerce Cloud, SAP Cloud for Customer, SAP Field Service Management).
Once the registration is completed, choose the menu item “Formations”, choose “Create Formation”, provide a name, select the subaccount and the just-connected system and finally choose “Create”. This will pair the application to the Kyma runtime.
Important: to connect SAP Cloud for Customer, you need to first create the Formation before using the one-time token in SAP C4C’s configuration.