Prerequisites
Before proceeding, ensure the following prerequisites are met:- Install MindsDB locally via Docker or Docker Desktop.
Connection
Establish a connection to Confluence from MindsDB by executing the following SQL command and providing its handler name as an engine.api_base
: The base URL for your Confluence instance/server.username
: The email address associated with your Confluence account.password
: The API token generated for your Confluence account.
Refer this guide for instructions on how to create API tokens for your account.
Usage
Retrieve data from a specified table by providing the integration and table names:The above example utilize
confluence_datasource
as the datasource name, which is defined in the CREATE DATABASE
command.Supported Tables
spaces
: The table containing information about the spaces in Confluence.pages
: The table containing information about the pages in Confluence.blogposts
: The table containing information about the blog posts in Confluence.whiteboards
: The table containing information about the whiteboards in Confluence.databases
: The table containing information about the databases in Confluence.tasks
: The table containing information about the tasks in Confluence.