Configure ServiceNow SQL API ODBC driver on client machine
Configure connection settings for the installed ODBC driver including server URL and authentication credentials to enable data access from BI tools to your ServiceNow instance.
Before you begin
- You have a valid ServiceNow credentials for a Service Account with the required roles assigned. See Create a Service Account and assign Roles for more information.
- Your client machine's IP address is included in the SQL API IP filter criteria. See Create IP filter criteria for more information.
- You have the necessary connection parameters including your ServiceNow instance URL and Service Account credentials.
Role required: local administrator on client machine for installation
About this task
After installing the ServiceNow SQL API ODBC driver on your client machine, you must configure the connection settings to establish a secure connection to your ServiceNow instance. After configuration, you can test the connection to verify that your client machine can successfully communicate with the ServiceNow SQL API.
Procedure
Open the Start Menu.
Select and hold (or right-click) on the Management Console.
Select Run as Administrator.
Navigate to ServiceNow SQL API - ODBC Manager > Manager (local configuration) > <drive>:\Program Files\ServiceNow\ODBC\cfg\oadm.in > Services > >ServiceNow_ODBC > Service Settings > IP Parameters.Navigate to ServiceNow SQL API - ODBC Manager > Manager (local configuration) > <drive>:\Program Files\ServiceNow\ODBC\cfg\oadm.in > Services > >ServiceNow_ODBC > Service Settings > IP Parameters.
Open the
ServiceJVMClassPathparameter.
UI screen of ODBC driver ServiceJVMClassPath.
Append the value, separated by semicolons, with the location where the
bc-fips-2.0.0.jar,bcutil-fips-2.0.3.jar, andbcpkix-fips-2.0.7.jarfiles are extracted.See Download the SQL API drivers on client machine to locate the JAR files.
For example, the JAR file location follows this pattern:
<Windows-machine-local-path>\<folder-name>\bc-fips-2.0.0.jar;<Windows-machine-local-path>\<folder-name>\bcpkix-fips-2.0.7.jar;<Windows-machine-local-path>\<folder-name>\bcutil-fips-2.0.3.jar.If you change the location of the JAR files, you must update the path in the
ServiceJVMClassPathparameter.Open the Start Menu.
Select and hold (or right-click) on ODBC Data Source Administrator (32-bit or 64-bit) based on the ODBC driver you installed.
Select Run as Administrator.
Select the System DSN tab.
Create a DSN or configure an existing DSN (32-bit or 64-bit) based on the ODBC driver you installed.
In the SN ServiceNow Local ODBC Driver Setup dialog, configure the following connection settings:
| Field | Value |
|---|---|
| Data Source Name | Any descriptive name such as Instance1Use one name per connected instance. |
| Description | This is optional. |
| Service Name | ServiceNow_ODBCThis field must match exactly as set in ODBC Data Source details. |
| Service Data Source | ServiceNowThis field must match exactly as set in ODBC Data Source details. |
| Custom Properties | `url=https:// Image omitted: sql-api-odbcdriver-dns-setting.png UI screen of ODBC driver DNS settings.
ResultThe ServiceNow SQL API ODBC driver is configured on your client machine. You can connect your ODBC-compatible applications, such as Power BI, or Excel, to this data source to access your ServiceNow data. What to do nextYou can use Interactive SQL application to verify the connection and test SQL queries. See Test SQL API ODBC driver connection using Interactive SQL. Parent Topic:Configuring SQL API |