This will require Data Admin privileges to setup and Builder for implementation.
iDashboards is able to connect to a Smartsheet API by using a JDBC driver. A JDBC driver is a software component enabling a Java application to interact with a database. To connect with individual databases, JDBC (Java Database Connectivity API) requires specific drivers for each database. The JDBC driver gives out the connection to the database and implements the protocol for transferring the query and result between the client and the database. iDashboards implements native protocols and does not require additional software installed on the driver host. In other words, iDashboards provides driver connectivity with the JDBC Data Source via the specified driver. This document explains a step-by-step procedure to create the Data Source with a Premium Data Connector.
CDATA for SmartSheet
CData JDBC Driver for Smartsheet is where we get the documentation on making this connection, however, the Premium Data Connectors are not a straight forward process which is why we make articles like this to help you make the connections more easily. This one requires a few steps, with a few different links to get very specific pieces of information to make this connection within iDashboards. The Smartsheet API is part of the Premium Data Connectors if you do not have these please contact your Client Success Manager.
Create a Smartsheet App
- Register your developer account
- Enter your email address and click Register Developer Account
- You will be sent and email with an activation link you must Click the link
- The link will take you to a get started page where you will create you account password
- After you enter your password and click Continue you'll be taken to Developer Tools
- Click Edit Developer Profile and fill in your company name and website.
- When you're finished click Create New App
-
Fill in all the required URLs
-
Check Publish App
-
Upload a logo if you choose and Save
- After you Save, a window will pop up with your App ID and App secret copy them to a text file
Obtaining your OAuth Access Token
- On the Smartsheet developer home page, in the upper right corner, click the Avatar Icon
- Select App and Integrations....
- In Personal Settings select API Access
- Then click Generate New Access Token
- Name the token, click ok then, copy the token to your text file.
Obtaining and Entering Credentials
In this section we'll be building the connection string to be used later when setting up the data source connection.
- Place the Smartsheet driver cdata.jdbc.smartsheet.jar in the following location:
- C:\Program Files\iDashboards_SRV\ivizgroup\drivers
- Double click the driver and it should open the drivers connection properties.
- If clicking doesn't work for you, you can do this via command line:
- cd C:\Program Files\iDashboards_SRV\ivizgroup\drivers
- java -jar cdata.jdbc.smartsheet.jar
- If clicking doesn't work for you, you can do this via command line:
- Scroll to the OAuth section of the connection properties and filling in the following:
- Callback/Redirect URL
- http://<ServerName>:6600/idbdata/console/api/callback
- Default Port: 6700
- Set Initiate OAuth to GETANDREFRESH
- OAuth Access Token
- Obtained in Obtaining your OAuth Access Token
- Copy and paste from your text file
- Obtained in Obtaining your OAuth Access Token
- Client ID and Client Secret: Obtained at the end of Create your App in Smartsheet
- Copy and paste from your text file
- OAuth Verifier: Same as the callback URL:
- http://<ServerName>:6600/idbdata/console/api/callback
- Callback/Redirect URL
- Once these fields are filled in click Test Connection.
- When your test comes back successful, click Copy to Clipboard
- Paste the connection string into a text file to use in Creating the Data Connection
Data Connection
Follow the steps below to set up a data source in iDashboards Admin or Data Hub
- Select Data Sources
- Then New
- Select the Data Source Type: Generic JDBC
- In the Create a Data Source window fill in the highlighted fields:
Database URL*: Enter in the connection string you created in Obtaining and Entering Credentials
JDBC Driver Class: cdata.jdbc.smartsheet.SmartsheetDriver
-
Click Save
It will look similar to below before you click Save:
For More Information:
- Creating a Database URL (Connection String)
- Smartsheet API 2.0 Documentation
- iDashboards Admin Manual 10. Managing Data Sources
Disclaimer: iDashboards Technical Support Engineers are not proficient in the Management and Integration of every API that exists as new APIs are being created everyday with each company that wants to provide seamless integration with other software. However, we do our best to help you make these connections because we want to assist you in your success. If you do not see an article for a connection you would like to make please contact iDashboards Support and know that it will take a bit of time to figure out what is necessary for this integration.
If the above is unable to resolve the issue, then please contact iDashboards Support for further assistance.
Comments
0 comments
Please sign in to leave a comment.