Using a connection string

You can specify a connection string instead of defining a DSN.

The connection string must follow this format:
Driver=ServiceNow ODBC driver 32-bit;ServiceName=ServiceNow_ODBC;UID=youruser;PWD=yourpassword;ServerDataSource=ServiceNow;CustomProperties=url=https://<instance>.service-now.com
The driver name varies depending on if you use the 32-bit or 64-bit version of the ODBC driver. To determine your driver name:
  1. In Windows, navigate to Start > Programs > Service-now ODBC > ODBC Administrator.
  2. Select the System DSN tab.
  3. Note value in the Driver column for the ServiceNow data source.