Ready to get started?

Learn more about the CData JDBC Driver for Trello or download a free trial:

Download Now

Connect to Trello Data in Aqua Data Studio

Access Trello data from tools in Aqua Data Studio such as the Visual Query Builder and the Table Data Editor.

The CData JDBC Driver for Trello integrates Trello data with wizards and analytics in IDEs like Aqua Data Studio. This article shows how to connect to Trello data through the connection manager and execute queries.

Create a JDBC Data Source

You can use the connection manager to define connection properties and save them in a new JDBC data source. The Trello data source can then be accessed from Aqua Data Studio tools.

  1. In Aqua Data Studio, select Register Server from the Servers menu.
  2. In the Register Server form, select the 'Generic - JDBC' connection.
  3. Enter the following JDBC connection properties:
    • Name: Enter a name for the data source; for example, Trello.
    • Driver Location: Click the Browse button and select the cdata.jdbc.trello.jar file, located in the lib subfolder of the installation directory.
    • Driver: Enter the Driver's class name, cdata.jdbc.trello.TrelloDriver.
    • URL: Enter the JDBC URL, which starts with jdbc:trello: and is followed by a semicolon-separated list of connection properties.

      Trello uses token-based authentication to grant third-party applications access to their API. When a user has granted an application access to their data, the application is given a token that can be used to make requests to Trello's API.

      Trello's API can be accessed in 2 different ways. The first is using Trello's own Authorization Route, and the second is using OAuth1.0.

      • Authorization Route: At the moment of registration, Trello assigns an API key and Token to the account. See the Help documentation for information on how to connect via the Authorization route.
      • OAuth Route: Similar to using Authorization, OAuth creates an Application Id and Secret when you create your account. See the Help documentation for information on how to to connect.

      Built-in Connection String Designer

      For assistance in constructing the JDBC URL, use the connection string designer built into the Trello JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.

      java -jar cdata.jdbc.trello.jar

      Fill in the connection properties and copy the connection string to the clipboard.

      A typical JDBC URL is below:

      jdbc:trello:APIKey=myApiKey;Token=myGeneratedToken;InitiateOAuth=GETANDREFRESH

Query Trello Data

You can now query the tables exposed.