- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2022 08:44 AM
How to know my instance client secret and client id..
I'm integrating two service now instances, so I want to provide "one instance client id and client secret" to the another instance, so please help me how to get those.
.
.
.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2022 02:04 AM
Hi
You need to generate those details in your target instance. Navigate to the module "Application Registry" as shown below and click on New button:
Now select "Create an OAuth API endpoint for external clients" in your Target ServiceNow instance as shown below:
Now fill out the form, Like Name.
Client ID is automatically generated and client secret you can leave it as blank and just save the form. Once you save the form , ServiceNow will automatically create it for you as shown below:
Before creation on click of New:
After Saving the form , both are visible which you need:
This way you can create your Client Secret and Client ID in your target instance.
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2022 08:57 AM
I believe you have this requirement because you are trying to consume ServiceNow in another service/website/tool?
Have you configured OAuth in ServiceNow for this?
You get Client Id and Client Secret in System OAuth > Application Registry.
But this requires configuring OAuth.
https://docs.servicenow.com/bundle/sandiego-platform-administration/page/administer/security/task/t_CreateEndpointforExternalClients.html?cshalt=yes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2022 09:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2022 07:51 PM
Hi,
Did you setup OAuth registry in the instance whose API would be consumed?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2022 02:04 AM
Hi
You need to generate those details in your target instance. Navigate to the module "Application Registry" as shown below and click on New button:
Now select "Create an OAuth API endpoint for external clients" in your Target ServiceNow instance as shown below:
Now fill out the form, Like Name.
Client ID is automatically generated and client secret you can leave it as blank and just save the form. Once you save the form , ServiceNow will automatically create it for you as shown below:
Before creation on click of New:
After Saving the form , both are visible which you need:
This way you can create your Client Secret and Client ID in your target instance.
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke