This post was originally published on this site
There are two Authentication type to trigger a CPI process from SuccessFactors Intelligent Services Center.
Basic : Basic Authentication is coved in this blog. Please click on the link https://blogs.sap.com/2022/11/22/triggering-a-cpi-process-from-successfactors-intelligent-services/ OAuth2 Client Credentials Grant : I will be covering this Authentication type in this blog.
Step 1 :
Add Event Connector in Intelligence service Center and click on New Event Connector
Step 2 :
Give Name of the Connector, End Point Url (Your CPI Process End Point Url)
You can find your End Point URL from your CPI process after deploying the process.
Step 3 :
You can get your client id, client Secret and Token Endpoint from the SAP BTP cockpit of your CPI http://account.hana.ondemand.com
In Cockpit : Go to Security -> OAuth -> Clients -> Register New Clent
Name : Give any name.
Subscription : Select the CPI subscription you are currently using.
ID : This is auto generated.
Authorization Grant : Select Client Credentials.
Secret : Give your any password.
Token Lifetime : You can select time how long you want to validate your token.