Top
Generating ServiceNow credentials
  • 23 Feb 2022
  • 1 Minute To Read
  • Dark
    Light
  • PDF

Generating ServiceNow credentials

  • Dark
    Light
  • PDF

ServiceNow application can be integrated with Whatfix to fetch and display content from your ServiceNow repository as contextual links in Self Help and Task List widgets. You can either fetch all the content or only the content in particular folders.

You need the following prerequisites from ServiceNow to integrate content with Whatfix:

  1. Client ID
  2. Client Secret
  3. Authorization Code
Generating Client ID and Client Secret

Log-in to the ServiceNow Developer console, open your Instance, and follow the steps shown in the slideshow to generate the necessary credentials.

Generating the Authorization code

Use the following steps to generate the Authorization code,

  1. Copy and paste the following URL in your preferred browser.
your title goes here

Remember to make the following changes in the code.

  • Replace {your-instance-name} with the instance name obtained earlier.
  • Replace {redirect-url} with the Redirect URL.
  • Replace {client_id} with the Client ID.
  • Replace {unique-id} with any 4-digit numerical value.
https://{your-instance-name}/oauth_auth.do?response_type=code&redirect_uri={redirect-url}&client_id={client-id}&state={unique-id}&grant_type=authorization_code

  1. Click Allow.

  2. Once the page loads, copy the URL that appears on your browser.

  3. The value of the access_token parameter in the URL is the Authorization code.

https://dev68258.service-now.com/oauth.redirect.do#access_token=<Authorization_code_generated>&state=1234&expires_in=1800

your title goes here

The Authorization code generated is valid only for 1 minute.
To increase the validity of the code, follow the procedure mentioned in the article, Manage OAuth tokens.


Was This Article Helpful?

First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.