This documentation explains how to create a connector for SAP Cloud ALM in order to enable Cloud ALM monitoring and data collection.
Describes how to connect the Redpeaks collector to a SAP Cloud ALM environment.
All credentials for the SAP Cloud ALM API are obtained from SAP Business Technology Platform (BTP) — there is no independent client registration inside Cloud ALM.
Prerequisites
Step 1: Configure Entitlements
Step 2: Create or Update the SAP Cloud ALM API Service Instance
JSON for Parameters section:
{
"xs-security": {
"xsappname": "<Your Instance Name>",
"authorities": [
"$XSMASTERAPPNAME.calm-api.<Required Scope 1>",
"$XSMASTERAPPNAME.calm-api.<Required Scope 2>"
],
"oauth2-configuration": {
"credential-types": ["binding-secret"]
}
}
}
Replace <Your Instance Name> with your instance name (or the instance GUID when updating). Replace the scopes with the ones you need (see API Scopes).
Step 3: Create a Service Binding (recommended) and get the credentials
Alternative: Create a Service Key
Result – Where to find the values in the JSON
After viewing the Service Binding (or Service Key), you will see a JSON similar to this:
{
"endpoints": {
"Api": "https://eu15.alm.cloud.sap/api"
},
"uaa": {
...
"clientid": "sb-...",
"clientsecret": "...",
"url": "https://<your-subaccount>.authentication.eu15.hana.ondemand.com",
...
}
}
https://<your-subaccount>.authentication.eu10.hana.ondemand.com
https://eu15.alm.cloud.sap
This procedure is based on the official SAP documentation: Enabling SAP Cloud ALM APIs.