Skip to main content
Apache Superset is an modern open-source data exploration and visualization platform. It can be connected to kamu via native Arrow Flight SQL protocol using Python client. In this setup:
  • kamu runs a Flight SQL server - a high-performance protocol for data transfer
  • In the Superset environment we install an additional flightsql-dbapi Python package
  • Superset uses generic database API provided by SQLAlchemy framework
  • flightsql-dbapi package provides custom engine implementation for SQLAlchemy that translates all Superset’s queries into Flight SQL protocol
To connect Superset to kamu follow these simple steps:
  1. Start with being able to run Superset locally using docker-compose (see this official guide)
    • Rest of the guide assumes that you are launching superset in “non-dev” mode using:
  2. Install flightsql-dbapi Python package into Superset container:
    • Stop and clean up the environment:
    • Create <superset repo>/docker/requirements-local.txt file (as per this guide) with the following contents:
  3. (Optional) Specify your MabBox API Token in <superset repo>/docker/.env-non-dev
  4. Run kamu Flight SQL server in a desired workspace:
  5. Start Superset via docker-compose again
  6. Create a new database connection in Superset
    • Use "Other" database kind
    • As URL specify:
  • Skip insecure=True when node is set up with TLS
  • To authenticate via access token use:
Last modified on March 16, 2026