Top
Generate ServiceNow Credentials
  • 21 Oct 2024
  • 1 Minute To Read
  • Dark
    Light
  • PDF

Generate ServiceNow Credentials

  • Dark
    Light
  • PDF

Article summary

The ServiceNow application can be integrated with Whatfix to fetch and display content from your ServiceNow Repository as contextual links in the Self Help widget. Either fetch all the content or only the content in particular folders.

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

  • Client ID
  • Client Secret
  • Authorization Code
Generate Client ID and Client Secret

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

Generate the Authorization code

Use the following steps to generate the Authorization code,

  1. Copy and paste the following URL in your preferred browser.
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
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.
  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?

Changing your password will log you out immediately. Use the new password to log back in.
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.