# ServiceNow OAuth Authentication

To set up OAuth authentication, begin by creating credentials in the Application Registry. Once set up, these credentials allow you to connect a ServiceNow instance to Getint, enabling seamless data synchronization.

### Creating Application Registry for OAuth Authentication <a href="#creating-application-registry-for-oauth-athentication" id="creating-application-registry-for-oauth-athentication"></a>

#### 1. Find Application Registry in All tab

<figure><img src="/files/d6c3qxCjcsg1wjlF78ms" alt=""><figcaption></figcaption></figure>

#### 2. Create a New Application Registry <a href="#id-2.-create-new-application-registry" id="id-2.-create-new-application-registry"></a>

<figure><img src="/files/IC5RQuL5z55H20XK5cMW" alt=""><figcaption></figcaption></figure>

#### 3. Click Create an OAuth API endpoint for external clients <a href="#id-3.-click-create-an-oauth-api-endpoint-for-external-clients" id="id-3.-click-create-an-oauth-api-endpoint-for-external-clients"></a>

<figure><img src="/files/6W37NYb7gXd71QrAW0Gd" alt=""><figcaption></figcaption></figure>

#### 4. Fill in the Name input and Submit <a href="#id-4.-fill-the-name-input-and-submit" id="id-4.-fill-the-name-input-and-submit"></a>

<figure><img src="/files/Fj1aiNgQrHrKWclwvzEx" alt=""><figcaption></figcaption></figure>

#### 5. Enter the newly created Application Registry <a href="#id-5.-enter-newly-created-application-registry" id="id-5.-enter-newly-created-application-registry"></a>

<figure><img src="/files/q7N2wd9yZ1mCvUG3Pcxv" alt=""><figcaption></figcaption></figure>

#### 6. Click the padlock to show the Client Secret <a href="#id-6.-click-padlock-to-show-client-secret" id="id-6.-click-padlock-to-show-client-secret"></a>

<figure><img src="/files/4qemry1IjIDhX1fN5LoE" alt=""><figcaption><p>Generated client ID and client secret can be now used during connection setup in Getint.</p></figcaption></figure>

### **Generating Access & Refresh tokens manually via POSTMAN** <a href="#generating-access-and-refresh-tokens-manually-via-postman" id="generating-access-and-refresh-tokens-manually-via-postman"></a>

#### 1. Create POST request: <a href="#id-1.-create-post-request" id="id-1.-create-post-request"></a>

* Set **URL** to https\://**instance**.service-now\.co&#x6D;**/oauth\_token.do**
* Select **x-www-form-urlencoded** in the **Body** tab and add the following properties:
  * **client\_id** - client\_id from Application Registry
  * **client\_secret** - client\_secret from Application Registry
  * **username** - ServiceNow User name
  * **password** - ServiceNow User password
  * **grant\_type** - must be named **password**

<figure><img src="/files/yst6drO0dwCWGJsvocG5" alt=""><figcaption></figcaption></figure>

#### 2. You will get the following response <a href="#id-2.-you-will-get-the-following-response" id="id-2.-you-will-get-the-following-response"></a>

<figure><img src="/files/hLU72ODM08oiVjOk71Uf" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
At Getint we take feedback seriously. Our company aims to bring solutions to many different use cases. Therefore, we highly advise you to contact our [Support Team](https://getint.io/help-center) or [Schedule a Demo](https://calendly.com/d/cpws-jb2-8xx/demo-call-all-team), if you require further assistance.
{% endhint %}

<figure><img src="/files/otyodSR2k1YTwh3mrnVq" alt=""><figcaption><p><a href="https://calendly.com/d/cpws-jb2-8xx/demo-call-all-team
">Start your integration journey. Schedule a free consultation with our Getint Integration Expert today!</a></p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.getint.io/guides/integration-synchronization/jira-servicenow-integration/servicenow-oauth-authentication.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
