How To Connect ServiceNow To The Orchestrator API?

How to connect ServiceNow to the Orchestrator API with an external app?

  1. First create the external app in Automation Cloud

Follow along with OAuth 2.0 Tutorial - Create An OAuth Provider and Profile ut make a few changes.

Use the following fields in the ServiceNow setup:

  • Authorization URL: https://cloud.uipath.com/identity_/connect/authorize
  • Token URL: https://cloud.uipath.com/identity_/connect/token
  • OAuth scope: Start with OR.Default but add other scopes later
  • Redirect URL: use the redirect to the ServiceNow instance

  1. Add an Oauth entity profile with Authorization code type

  1. Add the entity scope

  1. Test with a Rest message by Create a REST Message

  1. Use /odata/assets to test
  2. Add the X-UIPATH-OrganizationUnitId as a header