Connect ServiceNow to Unito using OAuth 2.0

This step-by-step guide will walk you through the process of setting up an OAuth client in ServiceNow and connecting your account to Unito.

In this article:

OAuth 2.0 is a secure and convenient way to authorize Unito to access your ServiceNow data, particularly if you're using a service account. This step-by-step guide will walk you through the process, ensuring a smooth and secure connection.

Necessary roles: Please note that you must be a ServiceNow admin or have the security_admin role to complete these steps.

Key terms to understand in ServiceNow:

  • Resource Owner: The user granting access to their ServiceNow data.
  • Client: The application (Unito) requesting access.
  • Authorization Server: ServiceNow, which issues access tokens.

Create an OAuth Client in ServiceNow:

  1. Navigate to Application Registry: In your ServiceNow instance, go to System OAuth > Application Registry.ServiceNow Application Registry
  2. Click Create New OAuth API endpoint for external clients ServiceNow OAuth Endpoint
  3. Click New to create an OAuth API endpoint for external clientsServiceNow New Application Registry
  4. Configuration:
    • Name: Give your OAuth client a descriptive name (e.g., "Unito Integration").
    • Redirect URL: Enter the following URL: https://integrations-platform.unito.io/credentials/new/oauth2/callback/
    Group 4 (2)
  5. Other Settings: Configure any additional settings based on your organization's security policies or specific requirements.

Connect ServiceNow to Unito:

  1. Go to the Unito App and select +Create Flow.
  2. Click Start Here and choose ServiceNow.
  3. Select Connect with OAuth 2.0.

Connect ServiceNow OAuth2

Enter Credentials

  • Instance URL: Enter your ServiceNow instance URL (e.g., https://yourcompany.service-now.com).
  • Client ID & Client Secret: Copy and paste the OAuth Client ID and Client Secret values from the OAuth client you created in ServiceNow.
    Connect ServiceNow OAuth2 2
  • Authorize: Click Authorize and then Allow on the next screen to grant Unito access to your ServiceNow data.

Note: The newly-created user in Unito will have the same credentials as the admin who generated the OAuth Client ID and Client Secret. 

Additional notes

When someone in your organization 

  • Security: OAuth 2.0 is a secure authentication method that doesn't require you to share your ServiceNow credentials directly with Unito.
  • Revoking Access: If you need to revoke Unito's access, you can do so at any time from the ServiceNow Application Registry.
  • Troubleshooting: If you encounter any issues during the connection process, please refer to our ServiceNow connector overview or contact our support team if you can't find the answers you're looking for.

Looking for an expert? Get in touch with our solutions team to assess your organization and we’ll provide a live demo.