In this blog, I have taken one of the pre-built connector helpful in Integrating SAP with Service Now. SAP has come up with 100+ readily available open connectors that can be utilized in our day to day integration scenarios. The primary objective of this blog is on how to do effectively utilize Open connectors for integrating SAP CPI and Service Now.
Before we begin, It is good to go through the below blogs for having a better understanding on Open connectors.
Announcing SAP Open connectors
Enabling Open Connectors
Let's Begin.
Pre-requisites:
- ServiceNow Instance.
- Client ID and Client Secret.
- SAP CPI Instance
SERVICENOW INSTANCE
To create a service now demo, logon to
https://developer.servicenow.com and create an instance. Once the Instance is created and you log in to your servicenow tool, your screen should look like below.
In the Filter Navigator Search bar, search for OAuth and click on Service Registry
Now click on New in Application Registries to create a new registry for your application.
CLIENT ID AND CLIENT SECRET
Enter the OAuth details:
Enter the Name, Redirect URL and Comments(if any).
Redirect URL:
https://auth.cloudelements.io/oauth
Note: Client ID and Client Secret will be auto generated.
Click on Submit.
Note down the Client ID and Client Secret.
OPEN CONNECTOR
Next step is to logon to open connector and configure the ServiceNow OAuth connector.
Check the below blog for how to invoke open connector.
Enabling Open Connectors
Enter the Service Now details in the below Tab and click on create instance.
Now you will be redirected to the below screen
Now your Servicenow Instance is ready and we can test it.
Click on ServiceNow-->API Docs in your open connectors, Scroll to Ping
click on try it out and execute it. You can see the below response.
Now our Service now instance is reachable from Open connector.
Conclusion:
With the use of Open connectors, customers are benefited from connectivity perspective with a 3rd party APIs (eg.ServiceNow). Development time is reduced tremendously and the Integration is made very simple.
In the
Second Part, we shall see how we can utilize Open connectors in our Cloud platform integration for creating Incidents on failures.
Reference: Service Now OAuth - Open Connectors
Happy Reading,
Sidharth VR