![]() |
VOOZH | about |
DataGrip is a database IDE that allows SQL developers to query, create, and manage databases. When paired with the CData JDBC Driver for ServiceNow, DataGrip can work with live ServiceNow data. This article shows how to establish a connection to ServiceNow data in DataGrip.
CData simplifies access and integration of live ServiceNow data. Our customers leverage CData connectivity to:
Many users access live ServiceNow data from preferred analytics tools like Tableau, Power BI, and Excel, and use CData solutions to integrate ServiceNow data with their database or data warehouse.
The steps below describe how to create a new Data Source in DataGrip for ServiceNow.
For assistance in constructing the JDBC URL, use the connection string designer built into the ServiceNow JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.
java -jar cdata.jdbc.servicenow.jar
Fill in the connection properties and copy the connection string to the clipboard.
ServiceNow uses the OAuth 2.0 authentication standard. To authenticate using OAuth, register an OAuth app with ServiceNow to obtain the OAuthClientId and OAuthClientSecret connection properties. In addition to the OAuth values, specify the Instance, Username, and Password connection properties.
See the "Getting Started" chapter in the help documentation for a guide on connecting to ServiceNow.
π Using the built-in connection string designer to generate a JDBC URL (Salesforce is shown.)jdbc:servicenow:OAuthClientId=MyOAuthClientId;OAuthClientSecret=MyOAuthClientSecret;Username=MyUsername;Password=MyPassword;URL=https://myinstance12345.service-now-com;InitiateOAuth=GETANDREFRESH;
At this point, you will see the data source in the Data Explorer.
To browse through the ServiceNow entities (available as tables) accessible through the JDBC Driver, expand the Data Source.
π Exploring the data (Salesforce is shown.)To execute queries, right click on any table and select "New" -> "Query Console."
π Opening a new Query Console.In the Console, write the SQL query you wish to execute. For example:
SELECT sys_id, priority FROM incidentπ Querying with SQL (Salesforce is shown.)
Download a free, 30-day trial of the CData JDBC Driver for ServiceNow and start working with your live ServiceNow data in DataGrip. Reach out to our Support Team if you have any questions.
Download a free trial of the ServiceNow Driver to get started:
Download NowLearn more:
π ServiceNow IconRapidly create and deploy powerful Java applications that integrate with ServiceNow data includingSchedules, Timelines, Questions, Syslogs, and more!