Already a NinjaOne customer? Log in to view more guides and the latest updates.

Enable ServiceNow – 2. Create an API User in ServiceNow

Topic

This article provides instructions for the second part of the ServiceNow setup in NinjaOne. 

Before you begin this step, you must complete: NinjaOne Integrations: Getting Started With ServiceNow.

Environment

  • NinjaOne Integrations
  • ServiceNow

Description

You must create an application programming interface (API) user in ServiceNow to facilitate the connection between it and NinjaOne. 

To create an API user in ServiceNow, perform the following steps.

  1. Log in to ServiceNow as an administrator.
  2. Click the All drop-down menu in the top navigation menu and select Organization → Users.
SN_all_users.png
Figure 1: ServiceNow → All → Organization Users
  1. Click New in the top right corner of the Users page to create a new user.
  2. Use the table below to complete the applicable fields.
FieldData
User IDYou may use any name for your user, but we recommend something that easily identifies the purpose of the user profile. For example, you could use ninjaone.apiuser and NinjaOne API User.
First name/Last name
ActiveSelect both checkboxes.
Web service access only
  1. Right-click in the gray menu panel above the user record fields and select Save. Saving the record populates new tabs at the bottom of the page.
  2. Open the new Roles tab and click Edit.
Figure 2: ServiceNow user roles Edit (click to enlarge)
  1. The Edit Members page displays. Use the Collection search field to find and add the following values individually to the Roles List by using the right arrow (→) button:
    • itil
    • import_admin
    • x_nrmm_ninjaone_in.ninjaone.integration_admin
    • personalize_responses
    • personalize_dictionary
  2. Click Save

You will navigate back to the user record. In the Roles tab, you should find several new entries. This is expected behavior.

  1. Click Set Password. The Set Password dialog will open.
  2. Click Generate to create the password.
  3. Click the paper icon to copy the data.
  4. Click Save Password and close the dialog.
You must click Save Password, or the password you copied will not work when enabling the integration in NinjaOne. Do not change this password after the integration is complete, or the integration will break, and you will need to re-enter the authentication information.
servicenow_user_set password.png
Figure 3: Set password for ServiceNow user
  1. Click Update on the user record page. You will be redirected to the Organization Users dashboard.
  2. Continue to the Configure API Credentials in NinjaOne section, which is required to map the configuration in NinjaOne back to ServiceNow. 

Next Step: Configure NinjaOne Table Access

Before the integration can successfully communicate with your instances, it may be necessary to enable NinjaOne table access in ServiceNow via Table GET and POST policies. 

Learn how: NinjaOne Integrations: Getting Started With ServiceNow to view the full integration scope and workflow.

FAQ

Next Steps