How to read ServiceNow data in ODBC application?
In this section we will learn how to configure and use ServiceNow Connector in the API Driver to extract data from the ServiceNow.
Create ODBC Data Source (DSN) based on ZappySys API Driver
Step-by-step instructions
To get data from using we first need to create a DSN (Data Source) which will access data from . We will later be able to read data using . Perform these steps:
-
Install ZappySys ODBC PowerPack.
-
Open ODBC Data Sources (x64):
-
Create a User Data Source (User DSN) based on ZappySys API Driver
ZappySys API DriverYou should create a System DSN (instead of a User DSN) if the client application is launched under a Windows System Account, e.g. as a Windows Service. If the client application is 32-bit (x86) running with a System DSN, use ODBC Data Sources (32-bit) instead of the 64-bit version. -
When the Configuration window appears give your data source a name if you haven't done that already, then select "ServiceNow" from the list of Popular Connectors. If "ServiceNow" is not present in the list, then click "Search Online" and download it. Then set the path to the location where you downloaded it. Finally, click Continue >> to proceed with configuring the DSN:
ServiceNowDSNServiceNow -
Now it's time to configure the Connection Manager. Select Authentication Type, e.g. Token Authentication. Then select API Base URL (in most cases, the default one is the right one). More info is available in the Authentication section.
Authenticate using ServiceNow instance username and password
Steps to get ServiceNow Credentials
To get your Instance name, Username and Password:
- Log in into your ServiceNow and go to https://developer.servicenow.com/dev.do.
- Click on your profile icon.
- Select your instance.
- Click on "Manage instance password" or similar link.
- In the opened page you should see Instance name, Username and Password.