Visualize Data
Connect Superset to StarTree Cloud
Learn how to connect Superset to StarTree Cloud.
Prerequisites
- Access to a StarTree Cloud cluster.
- Access to a Superset instance.
For more information about how to install and deploy Superset, see What is Apache Superset? - Superset instance has the Pinot database driver installed, which is compatible with StarTree Cloud. For more information, see how to install a database driver for Superset.
Obtain the SQLAlchemy URI to connect to StarTree
- Visit the apps page of your cluster.
- Click on the Pinot API Tokens button.
- On the API Tokens page, select Clients from the left hand sidebar.
- Click on Superset in the client options.
- Click Create a new API Token.
- Copy the SQLAlchemy URI.
Create the Database Connection in Superset
- In Superset, click Settings in the top-right corner and select Database Connections under the Data section.
- Click the + Database button.
- Open the Choose a Database dropdown and select Apache Pinot.
If Apache Pinot is not listed, see the instructions to configure the Apache Pinot database driver. - Specify a name for the database connection
- Paste the SQLAlchemy URI that you copied from StarTree.
- Test the connection.