Articles in this section

Set up an OAuth 2.0 connection to ServiceNow

ServiceNow is a cloud computing platform that helps companies to manage digital workflows for enterprise operations.

Set up a connection

After you start the connection, configure it in the Create connection panel and complete all of the required * authentication settings:

 

Setting

Instructions

Name your connection *

Enter a clear and distinguishable name.

Throughout integrator.io imports and exports, you will have the option to choose this new connection. A unique identifier will prove helpful later when selecting it from a list of the connections in your account.

Subdomain *

Enter your ServiceNow subdomain. For example, if your ServiceNow account URL is https://test89098.service-now.com, then test89098 is your subdomain.

Username *

Enter your ServiceNow account username.

Password *

Enter your ServiceNow account password.

Multiple layers of protection are in place, including AES 256 encryption, to keep your connection’s password safe. When editing this form later, you must enter this value again; it is stored only when the connection is saved and never displayed as text.

Auth type *

Select OAuth 2.0 as the authentication type.

OAuth 2.0 client *

Select the OAuth 2.0 client that stores the client ID and client secret provided by ServiceNow.

Fetch data {//theme.zdassets.com/theme_assets/1098969/5157503509223f89f9b3e7578d2ca78ce882fc18.svg}How to retrieve the client ID and client secret

To add an OAuth 2.0 client and configure your credentials, click the plus (+) button. Click the edit ( edit.svg ) button to modify a selected OAuth 2.0 client. For more information, see Create an OAuth 2.0 iClient resource.

Tip

This connector documentation describes only the settings shown for the Simple view. For the corresponding HTTP settings, see OAuth 2.0 auth universal connector documentation.

How to retrieve your client ID and client secret

  1. Sign in to your ServiceNow instance.

  2. Navigate to Systemdefinition > Plugins. The All applications page appears.

  3. Search for OAuth 2.0 and click Install.

  4. In the Activate Plugin dialog box, select Activate for (com.snc.platform.security.oauth).

    Note

    By default, this plugin is active for upgraded and new instances.

  5. Navigate to System OAuth > Applicationregistry and click New.

Ser2.png
  1. Click Create an OAuth API endpoint for external clients. The Application registries new record page appears.

  2. Provide a Name and click Submit. The new registry gets added.

Ser3.png
  • Click the registry and copy the Client ID and Clientsecret.

Ser4.png

Note

If you already created an application registry, you can select the registry and copy the Client ID and Client secret.