Skip to main content

Authorization

Follow this guide to create a new ServiceNow credential that will allow Nexla to authenticate to and exchange data with your ServiceNow instance.
svnow_api_auth.png

ServiceNow

Prerequisites

Before creating a ServiceNow credential, you need to obtain your ServiceNow Instance URL, Username, and Password from your ServiceNow account. ServiceNow uses Basic Authentication for all API requests, with the username and password sent in the Authorization header.

To obtain your ServiceNow credentials, follow these steps:

  1. Sign in to your ServiceNow instance using your administrator credentials.

  2. Your ServiceNow Instance URL is the base URL of your ServiceNow instance. This typically follows the format https://{myinstance}.service-now.com (e.g., https://dev12345.service-now.com). You can find this in your browser's address bar when you're signed in to ServiceNow.

  3. Your Username is the username you use to sign in to your ServiceNow instance. This should be a user account with appropriate permissions to access the API endpoints you need.

  4. Your Password is the password associated with your ServiceNow username. Ensure the user account has the necessary API permissions and roles to access the data you need.

  5. For API access, ensure your ServiceNow user account has the appropriate roles and permissions:

    • REST API Explorer role for basic API access
    • web_service_admin role for administrative API operations
    • itil role for ITIL-related tables
    • Additional roles may be required depending on the specific tables and data you need to access
  6. Store all credentials securely, as you will need them to configure your Nexla credential. The Username and Password are sensitive information and should be kept confidential.

The Username and Password are used for Basic Authentication in all API requests to the ServiceNow API. The credentials are sent in the Authorization header with Basic Authentication encoding. The Instance URL is used to construct the API endpoint URL for your ServiceNow instance (e.g., {instance_url}/api/now/v2/table/{table_name}). If your credentials are compromised, you should immediately change your ServiceNow password and review your account security settings. For detailed information about ServiceNow API authentication, user roles, and available endpoints, refer to the ServiceNow REST API documentation.

Create a ServiceNow Credential

  • To create a new ServiceNow credential, after selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.

New Credential Overlay – ServiceNow

ServiceNowCred.png

Credential Name & Description

  1. Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.

    Resource descriptions are recommended but are not required. They should be used provide information about the resource purpose, data freshness, etc. that can help the owner and other users efficiently understand and utilize the resource.

Basic Authentication

ServiceNow uses Basic Authentication for all API requests. The Username and Password are sent in the Authorization header, and the Instance URL is used to construct the API endpoint URL.

  1. Enter your ServiceNow Instance URL in the ServiceNow Instance URL field. This should be the base URL of your ServiceNow instance, including the protocol (e.g., https://dev12345.service-now.com). The Instance URL is used to construct the API endpoint URL for your ServiceNow instance.

  2. Enter your ServiceNow Username in the Username field. This is the username you use to sign in to your ServiceNow instance. The Username is used along with the Password in Basic Authentication for all API requests to the ServiceNow API. Ensure the user account has the necessary API permissions and roles to access the data you need.

  3. Enter your ServiceNow Password in the Password field. This is the password associated with your ServiceNow username. The Password is used along with the Username in Basic Authentication for all API requests to the ServiceNow API. The Password is sensitive information and must be kept confidential.

    Your ServiceNow credentials can be found in your ServiceNow instance. The Instance URL is the base URL of your ServiceNow instance (e.g., https://dev12345.service-now.com). The Username and Password are your ServiceNow account credentials.

    The Username and Password are used for Basic Authentication in all API requests to the ServiceNow API. The credentials are sent in the Authorization header with Basic Authentication encoding. Ensure your ServiceNow user account has the appropriate roles and permissions (e.g., REST API Explorer, web_service_admin) to access the API endpoints you need.

    If your credentials are compromised, you should immediately change your ServiceNow password and review your account security settings. The credentials provide access to your ServiceNow instance data and should be treated as sensitive information. Keep your credentials secure and do not share them publicly.

    For detailed information about ServiceNow API authentication, user roles, and available endpoints, see the ServiceNow REST API documentation.

Save the Credential

  1. Once all of the relevant steps in the above sections have been completed, click the Save button at the bottom of the overlay to save the configured credential.

  2. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation and can be selected for use with a new data source or destination.