Generate ServiceNow Credentials
- 21 Oct 2024
- 1 Minute To Read
-
Print
-
DarkLight
-
PDF
Generate ServiceNow Credentials
- Updated On 21 Oct 2024
- 1 Minute To Read
-
Print
-
DarkLight
-
PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
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
- Log-in to the ServiceNow Developer console.
- 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,
- 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.
- Click Allow.
- Once the page loads, copy the URL that appears on your browser.
- 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?