Ready to get started?

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

Download Now

Manage Confluence Data in DBArtisan as a JDBC Source

Use wizards in DBArtisan to create a JDBC data source for Confluence.

The CData JDBC Driver for Confluence seamlessly integrates Confluence data into database management tools like DBArtisan by enabling you to access Confluence data as a database. This article shows how to create a JDBC source for Confluence in DBArtisan. You can then edit data visually and execute standard SQL.

Integrate Confluence Data into DBArtisan Projects

Follow the steps below to register Confluence data as a database instance in your project:

  1. In DBArtisan, click Data Source -> Register Datasource.
  2. Select Generic JDBC.
  3. Click Manage.
  4. In the resulting dialog, click New. Enter a name for the driver and click Add. In the resulting dialog, navigate to the driver JAR. The driver JAR is located in the lib subfolder of the installation directory.
  5. In the Connection URL box, enter credentials and other required connection properties in the JDBC URL.

    Obtaining an API Token

    An API token is necessary for account authentication. To generate one, login to your Atlassian account and navigate to API tokens > Create API token. The generated token will be displayed.

    Connect Using a Confluence Cloud Account

    To connect to a Cloud account, provide the following (Note: Password has been deprecated for connecting to a Cloud Account and is now used only to connect to a Server Instance.):

    • User: The user which will be used to authenticate with the Confluence server.
    • APIToken: The API Token associated with the currently authenticated user.
    • Url: The URL associated with your JIRA endpoint. For example, https://yoursitename.atlassian.net.

    Connect Using a Confluence Server Instance

    To connect to a Server instance, provide the following:

    • User: The user which will be used to authenticate with the Confluence instance.
    • Password: The password which will be used to authenticate with the Confluence server.
    • Url: The URL associated with your JIRA endpoint. For example, https://yoursitename.atlassian.net.

    Built-in Connection String Designer

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

    java -jar cdata.jdbc.confluence.jar

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

    Below is a typical connection string:

    jdbc:confluence:User=admin;APIToken=myApiToken;Url=https://yoursitename.atlassian.net;Timezone=America/New_York;
  6. Finish the wizard to connect to Confluence data. Confluence entities are displayed in the Datasource Explorer.

You can now work with Confluence data as you work with any other database. See the driver help documentation for more information on the queries supported by the Confluence API.