Set up the Cornerstone spoke
Integrate your Cornerstone application with your ServiceNow instance. Register an OAuth application in Cornerstone and authenticate requests from ServiceNow.
Before you begin
- Request an Integration Hub subscription.
- Activate the Cornerstone spoke.
- Role required: admin.
Register an application in the Cornerstone instance
Register an application in the Cornerstone instance and record the generated Client ID and Client Secret for later use.
Before you begin
Role required: admin
Procedure
Log in to the Cornerstone instance as an admin.
Navigate to Admin > Tools.
Navigate to Admin > Tools .
Click EDGE.
Click API Management under Develop.
Access API Management.
The API Management window is displayed in a new browser tab.
Click the Manage OAuth 2.0 Applications.
Click + Register New Application.
On the form, fill the values.
Field Description Application Name Name to identify the application. User ID User ID for an active user account in your Cornerstone portal. Select the scopes as per your requirement.
Select the required scopes.
Click Register Application.
The values of Client ID and Client Secret are generated. Copy and record these values for later use.
Configure connection for the Cornerstone spoke
Add and configure a Cornerstone connection to authenticate ServiceNow requests in Cornerstone spoke.
Before you begin
Role required: admin.
Procedure
Navigate to Process Automation > Flow Designer.
Click the Connections tab.
Locate the Cornerstone connection alias in the outbound connections.
Click View Details.
Note: Don't click Add Connection.
Click Edit or if you are configuring the spoke for the first time, click Configure.
On the form, fill in the fields.
Field Description Connection Name Name to identify the connection record. Connection URL URL of the Cornerstone instance. Base URL URL of the Cornerstone instance. OAuth Entity Name Name to identify the application registry record. OAuth Client ID Client ID created during the application configuration in Cornerstone. OAuth Client Secret Client Secret created during the application configuration in Cornerstone. Token URL OAuth server token endpoint. For example, https://<Cornerstone-Instance>.com/services/api/oauth2/token.Click Configure and Get OAuth Token.
Result
The spoke connection is configured and ready to be used.