Skip to content

Connect SAP Integration Suite🔗

Lightrun reads Cloud Integration message processing logs and their error details. With them, it can tell whether an interface ran and where it failed. With design access, it can also read integration flow (iFlow) definitions and resources.

Who does it: your SAP BTP admin.

Prerequisites🔗

  • An SAP Integration Suite subscription with Cloud Integration activated in the subaccount.
  • The SAP Process Integration Runtime (it-rt) entitlement with plan api.
  • The Space Developer role in the Cloud Foundry space where you create the instance.
  • The ID of a known failed message (execution) in the tenant, to verify the setup.
  • HTTPS access from Lightrun to SAP BTP (*.hana.ondemand.com, *.cloud.sap).

Walkthrough🔗

Click through the setup screen by screen, or follow the written steps below.

Which roles you need🔗

Role Required? What it gives Lightrun
MonitoringDataRead Required Message processing logs, error details and the deployed runtime version
WorkspacePackagesRead Recommended iFlow definitions, parameters, configuration and resources

Step 1: Create a read-only key in SAP BTP🔗

  1. In the subaccount that owns the Cloud Integration tenant, go to Services → Instances and Subscriptions → Create.
  2. Choose SAP Process Integration Runtime, plan api, runtime Cloud Foundry, your space and a name.
  3. Under Roles, select MonitoringDataRead, and WorkspacePackagesRead if Lightrun should read iFlow definitions. Leave Grant-types on Client Credentials.
  4. Click Create and wait until the instance shows Usable.
  5. Open the instance and click Create under Service Keys. Name it, keep Key Type on ClientId/Secret and click Create.
  6. Open the key and copy its full JSON.

Use the api plan

Don't use the integration-flow plan. It's for calling integration flows from outside, and its keys don't work with this connector. Don't add edit, configure, deploy or credential-access roles.

Step 2: Connect in Lightrun🔗

  1. Go to Connectors, search for SAP Integration Suite and click Connect.
  2. Paste the JSON into Service key. Lightrun fills in the fields from the key's oauth section:

    Field in Lightrun From the service key
    Monitoring API URL url. Lightrun adds the /api/v1 path itself.
    Token URL tokenurl, the full URL including /oauth/token
    Client ID clientid
    Client Secret clientsecret
  3. Click Test connection. Lightrun signs in and searches the last hour of messages.

  4. Click Add, then add the connector to your workflow's agent.

Step 3: Network🔗

Nothing to open on your side. Lightrun connects over HTTPS and only reads. It accepts only endpoints under *.hana.ondemand.com or *.cloud.sap.

Check it works🔗

A passing test isn't enough

The connection test also passes when the last hour has no messages. Confirm the setup with a known case.

  1. Ask Lightrun about a known failed message, using its message ID if you have it. Otherwise give the time and the integration flow ID. Check that the returned error matches what you see in Cloud Integration monitoring.
  2. If you granted WorkspacePackagesRead, ask Lightrun to describe a saved iFlow. The answer reflects the saved or currently deployed version. Lightrun needs the message's own evidence to say which version actually ran.

Troubleshooting🔗

What you see What to check
"Not authorized" when you create the instance Add your user under Cloud Foundry → Spaces → Space Members as Space Developer.
There's no api plan in the list Check the SAP Process Integration Runtime / api entitlement, and that Cloud Integration is activated (SAP KBA 3089513).
"This JSON does not contain service-key fields for this connector" You pasted a key from another service. Copy the key of the api-plan instance.
The test fails with HTTP 401 or 403 The key comes from the wrong plan, or is missing MonitoringDataRead. Check that all four values come from the same key.
Lightrun connects, but a message or iFlow lookup fails Check the tenant and message ID. For iFlow reads, add WorkspacePackagesRead with Update Instance and create a new key. Old tokens keep old permissions for up to 12 hours.

See SAP's message processing logs and Cloud Integration roles.


Last update: November 24, 2026