Integration Environment Registration
To register the SAP Integration Environment, you must first register the CPI credential. Follow the link and complete the credential setup.
CPI Environment Registration
Navigate to Environments from the Administration menu.
Select CPI environment and click on register CPI environment.
Provide the following details:
Field
Description
Name
Enter a unique name for the SAP CPI Environment.
Auth Type
Select the authentication type: Basic Auth or OAuth2.
API URL
Provide the API URL for connecting to the SAP CPI Environment.
Enable Test Automation (Optional)
Toggle to enable or disable test automation capabilities.
IFLOW OAuth Credential
Select the OAuth credentials used for IFLOW authentication.
IFLOW URL
Enter the IFLOW URL from the service key.
SSO URL
Provide the Single Sign-On (SSO) URL for authentication. Note: The setup process is outlined in the section below.
IDP Auth Email Address / Group Name
The group name or email address configured in the 'Value' section under User Groups or Attribute Mappings should also match the corresponding group or email configuration in the IDP Auth Email Address/Group Name within the ReleaseOwl CPI environment registration page.
Integration Advisor
Enable Integration Advisor to provide the Host URL.
Host URL
The host URL is the base address of your SAP Integration Suite instance. (Example: https://<subdomain>.integrationsuite-<region>.cfapps.<domain>.hana.ondemand.com)
Enable Git (Optional)
Enable this option to integrate Git with the environment.
Git Credential
Select the credential for accessing the Git repository.
Repository URL
Provide the Git repository URL.
Branch
Specify the branch to be used for the integration.
Environment Type
Select the environment type (e.g., Dev, QA, Prod).
Web Authentication
There are three authentication types available for CPI Web Authentication in ReleaseOwl:
None – No authentication is required.
Custom Identity Provider (Custom IdP) – Authentication is performed using a customer-configured Identity Provider.
SAP Cloud Identity Provider – Authentication is performed using SAP Cloud Identity Services (IAS).
SAP Passport – Authentication is performed using browser-based SAP Passport certificates.

Custom Identity Provider (IDP) Setup and Configuration
A Custom IDP (Identity Provider) must be configured to allow secure authentication and authorization for users who interact with the Integration Suite (CPI) instance through ReleaseOwl.
Use Case: This is particularly useful for executing test cases, simulation testing and updating value mappings as part of the pipeline.
Steps to Configure a Custom Identity Provider (IDP)
A Custom Identity Provider (IDP) is required for deploying certain artifact types—such as Value Mapping, REST, SOAP, and OData APIs—as well as for executing test cases associated with these artifacts via ReleaseOwl.
Download SAP BTP SAML Metadata
Navigate to the Security section of your SAP BTP Subaccount.
Go to Trust Configuration.
Click Download SAML Metadata to download the BTP metadata file.

Extract the SAP BTP SSO URL
Open the downloaded SAML metadata XML file in a text editor (e.g., Notepad++, VS Code, or a browser).
Search for the
<AssertionConsumerService>tag.In this tag, locate the Location attribute. The value of this attribute is your SAP BTP SSO URL.

Copy the extracted SSO URL.
Paste it into the SSO URL field in the SAP CPI Environment.

For the IDP Auth Email Address/Group Name field, enter the exact value that your Identity Provider sends in the SAML/OIDC assertion for the user.
This value must match the group name or email address defined in the Value field of the User Groups or Attribute Mappings configuration in your IDP. ReleaseOwl (or SAP BTP) uses this returned attribute value to validate user authorization.
Refer to the Assign Role Collections section to ensure that the mapped group/attribute is correctly linked to the required role collections.

After entering all the required details, click Save. Once saved, a Test button will appear. Use this button to verify whether the provided credentials and configuration are correct. Click Test to validate the connection.


Upon successful validation, a Download option will be available to download the tenant-specific metadata and the SAP CPI environment descriptor file.

Create Trust Configuration in SAP BTP
Return to Trust Configuration in the SAP BTP Cockpit.
Click New Trust Configuration and select New SAML Trust Configuration.

Upload the ReleaseOwl CPI Environment metadata XML file.
Uncheck the option "Available for User Logon" to prevent this IDP from appearing on the SAP login screen.
Click Save.

Assign Role Collections (Choose One of the Methods Below)
To assign role collections, you can choose one of the following methods:
Method 1: Assign Role Collections using User Groups
Open the newly created Custom IDP for Applocations and click Edit.

Go to the User Groups section and Click the "+" button to add a new mapping.
Configure the mappings like the example below:
PI_Integration_Developer
Groups
equals
group name
Method 2: Assign Role Collections using Attribute Mapping (Email-Based)
In the same Trust Configuration screen, scroll to Attribute Mappings.
Click the "+" button to add a new mapping.
Define mappings like this:
PI_Integration_Developer
emailAddress
equals
The email ID of the service user
Method 3: Configure Custom Role Collection Mappings for the IdP
You can configure granular permissions by creating the custom role collection with the below required roles:
Custom Role Collection
Required Roles
Roles required for ReleaseOwl CPI test generator
Trail-content-adminstrator
PI_Integration_Developer
PI_Administrator

The group name or email address configured in the 'Value' section under User Groups or Attribute Mappings should match the corresponding group or email configuration in the IDP Auth Email Address/Group Name on the ReleaseOwl CPI environment registration page.

SAP Cloud Identity Provider
ReleaseOwl seamlessly integrates with SAP Cloud Identity Services to support secure authentication and identity management across deployment pipelines. To register the SAP Cloud Identity environment, you must first register the Cloud Identity credential. Follow the link and complete the credential setup.
Trust Configuration in SAP BTP
Go to Trust Configuration in your SAP BTP subaccount.
Click on Establish Trust.

Configure Trust
Select your Cloud Identity Service tenant → click Next.

Select your Cloud Identity Service domain → click Next.

Under Configuration Parameters:
Set Origin Key = sap.custom
Click Next and then Finish.


OpenID Connect Settings
A new trust configuration will be created using the origin key
sap.customwith the OpenID Connect (OIDC) protocol.

In the Parameters section, enable Available for User Logon.

Navigate to Attribute Mappings and fill in the required mappings:
Related Role
Attribute Name
Value
Operator
Trail-content-adminstrator
PI_Integration_Developer
PI_Administrator
Your Cloud Identity Service email
equals
Click Save to update the configuration.

Access Applications
Log in to your Cloud Identity Service tenant.
Navigate to Applications & Resources → Applications.

A new bundled application will be automatically created and associated with the trust configuration and linked to the corresponding SAP BTP subaccount.

Configure Single Sign-On
Open the newly created application.
Go to Single Sign-On → Subject Name Identifier.

Configure as follows:
Source (Primary): Identity Directory
Attribute (Primary): Email
Source (Fallback): Identity Directory
Attribute (Fallback): Email
Click on the Save button.

Configure Conditional Authentication
Go to Trust → Conditional Authentication.

Set Default Identity Provider = Identity Authentication.

Environment Registration
Go to the SAP CPI Environment and click on the Register SAP CPI Environment.

Web Authentication: Select SAP Cloud Identity Provider.
Credential: Choose the SAP Cloud Identity Credential that you registered earlier.
Click on the Create button.

SAP Passport
ReleaseOwl seamlessly integrates with SAP Passport to enable secure certificate-based authentication for SAP CPI environments. To register the SAP Passport–based authentication, you must first generate your SAP Passport and register it as a credential in ReleaseOwl. Follow the link and complete the credential setup.
Environment Registration
Go to the SAP CPI Environment and click on the Register SAP CPI Environment.
Click on Register SAP CPI Environment.

Under Web Authentication, select SAP Passport.
Under Credential, select the SAP Passport Credential you created earlier.
Click on the Create button to complete the configuration.

Adding Environments to Project
To add environments to project, follow the link and complete the setup.

Last updated