---
title: "ServiceNow"
slug: "servicenow-1"
updated: 2024-05-30T07:33:40Z
published: 2024-05-30T07:33:40Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.safe.security/llms.txt
> Use this file to discover all available pages before exploring further.

# ServiceNow

## About this document

---

This document provides step-by-step instructions to onboard a ServiceNow account in SAFE.

## Introduction

---

SAFE integrates with ServiceNow via read-only APIs and fetches the security configuration of the ServiceNow account in SAFE.

## Prerequisites

---

To configure ServiceNow in SAFE, you need the following details:

- **Instance Name**: Instance name of the user’s ServiceNow Instance (e.g., safe.service-now.com)
- **Client ID** and **Secret Key**: To generate a Client ID and Secret Key, you must have a ServiceNow Administrator role.

## Generate Connection Details (Client ID and Secret Key)

---

1. Log in to your ServiceNow Account as admin.
2. Click the **All**tab, and search for**System OAuth > Application Registry**. ![Service Now Config](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/Service%20Now%20Config.png)
3. Click the **Application Registry** option.
4. Click the **New**button available at the top-right corner of the screen. ![Service Now Config 1](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/Service%20Now%20Config%201.png)
5. On the New page, click the **“Create an OAuth API endpoint for external clients**” option. ![Service Now Config 3](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/Service%20Now%20Config%203.png)
6. Enter a Name for the application and click the submit button. The system creates a new app.
7. Go to the created app details page.
8. Copy the **Client ID** and**Client Secret**. ![Service Now Config 4](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/Service%20Now%20Config%204.png)

## Configure ServiceNow in SAFE

---

1. Navigate to Safe Hooks and click the ServiceNow card.
2. Enter the **Instance Name**.
3. Enter the **Username**and **Password**(Admin Username and Password for ServiceNow account)
4. Enter the **Client ID** and **Client Secret Key**.
5. Enter auto-sync frequency in days.
6. Click the **Test Connection** button.
7. Once the connection is validated, click the **Save**button
8. Once the configuration is saved, click the **Sync Now** button to trigger the on-demand sync outside of the scheduled auto sync.

![Service Now Config 6](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/Service%20Now%20Config%206.png)

## View Results

---

After a successful sync, SAFE automatically pulls the ServiceNow assets.

To view the assets pulled from ServiceNow:

1. On the ServiceNow configuration page, click the **See Updated Assets** option available at the top-right of the **History** table.
2. The system redirects you to a filtered asset list.

## FAQ

---

### What permissions does SAFE require to assess the configuration of ServiceNow?

The following minimum permissions are required on the below sys_properties records:

|  | Permission |
| --- | --- |
| glide.ui.security.allow_codetag | Read |
| glide.authenticate.multifactor | Read |
| glide.ui.forgetme | Read |
| glide.login.no_blank_password | Read |
| glide.security.use_csrf_token | Read |
| glide.ui.secure_cookies | Read |
| glide.ui.secure_cookies | Read |
| glide.ui.rotate_sessions | Read |
| glide.enable.blacklist_password | Read |
| glide.enable.password_policy | Read |
| glide.login.autocompleteglide.soap.require_content_type_xml | Read |
| glide.basicauth.required.xml | Read |
| glide.report.published_reports.enabled | Read |
| glide.security.strict.updates | Read |
| glide.ui.user_cookie.max_life_span_in_days | Read |
| glide.ui.user_cookie.life_span_in_days | Read |
