---
title: "Using OAuth2 with Service Gateway for ServiceNow"
canonical: "https://docs.perspectium.com/space/gold/1264919/Using+OAuth2+with+Service+Gateway+for+ServiceNow"
format: markdown
---
> Macro (html-bobswift)


OAuth authentication <span style="color: #212529">is use to authorize</span><span style="color: #212529"> across a network of web-enabled applications and APIs (for more information, visit </span>[<span style="color: #212529">User Authentication with OAuth 2.0</span>](https://oauth.net/articles/authentication/)<span style="color: #212529">). </span>Perspectium [Meshlets](https://docs-perspectium.atlassian.net/wiki/spaces/gold/pages/1281233) for ServiceNow support OAuth2 so you can use a token instead of entering a username and password. 


## **Prerequisites**

---

:warning: First, have a ServiceNow instance with [privileges](https://docs.servicenow.com/bundle/orlando-platform-administration/page/administer/security/concept/c_ElevatedPrivilege.html) to generate a** REST API** access token.  


## <span style="color: #000000">**Procedure**</span>

<span style="color: #000000">To use </span>**<span style="color: #000000">OAuth2</span>**<span style="color: #000000"> for Service Gateway with ServiceNow, follow these steps:</span>

---

> Macro (ui-steps)
> 
> > Macro (legacy-content)
> 
> > Macro (legacy-content)
> 
> > Macro (legacy-content)



## **<span style="color: #000000">Similar topics</span>**

---

> Macro (contentbylabel)

## **<span style="color: #000000">Contact Perspectium Support</span>**

---

#### > Macro (inline-media-image)

<span style="color: #333333">**US: **</span>[<span style="color: #333333">**1 888 620 8880**</span>](tel:18886208880)

#### <span style="color: #333333">**UK: **</span>[<span style="color: #333333">**44 208 068 5953**</span>](tel:442080685953)

#### [<span style="color: #333333">**support@perspectium.com**</span>](mailto:support@perspectium.com)<span style="color: #333333">** **</span>** **