Connections > ServiceNow connection > Test a ServiceNow connection
  

Test a ServiceNow connection

To verify if you can connect to ServiceNow, open any REST or SOAP client and test the connection.
It is recommended that you use the following SOAP URL and test the REST, JSON, JSONv2, or SOAP endpoints.
You need to use the user credentials that has the SynQ_User_Role or the name that you specify for the role.
Verify the connection status
To verify the connection status, call the REST API from any REST client.
Before you make a call to the API, ensure that you have set up the user, group, and role:
Purpose : Testing Connection with ServiceNow
URL :https://<instance>.service-now.com/api/now/table/sys_user
Authentication: Basic
If you set the appropriate roles, you will get a response similar to the following image:
If you do not get the expected results, verify the user credentials and ServiceNow ACLs.
Verify the credentials
To verify if the ACL and user settings are correct, call the REST API from a REST client.
The following image shows an example of a GET request validation from a REST Client:
To create a successful connection with Data Integration, verify the credentials and ACLs with the following API:
API URL :https://<instance>.service-now.com/api/now/table/sys_db_object
Authentication:Basic
The following image shows an example of a GET request validation from a REST Client:
Test the APIs
If you have access to read data from or write data to ServiceNow, test the APIs for metadata information.
For more information about the REST API URLs and parameters, see Getting Started in the ServiceNow documentation.