Building the Connection URL
Use the connection URL to supply connection information to the data store that you are accessing. The following is the format of the connection URL for the Simba ServiceNow JDBC Connector:
jdbc:servicenow://;Host=[InstanceURL];Auth_Type=OAuth 2.0;[Property1]=[Value];[Property2]=[Value];...
The variables are defined as follows:
- [InstanceURL] is the URL of your ServiceNow instance.
- [Property] and [Value] are any one of the other connection properties supported by the connector and the value for that property. At minimum, you must set the properties that provide your credentials for authentication.
For information about configuring authentication, see Configuring Authentication. For a list of the properties available in the connector, see
For example, to connect to ServiceNow and authenticate the connection using an access token, you would use the following connection URL:
jdbc:servicenow://;Host=https://instance12345.service-now.com;Auth_Type=OAuth 2.0;Auth_AccessToken=kP9PcyQ7prK2LwUMZMpFQ4R+5VE
Important:
- Do not duplicate properties in the connection URL.
- To make sure that the connection URL is compatible with all
JDBC applications, it is recommended that you escape the backslashes (
\
) in your file paths by typing another backslash.