All Products
Search
Document Center

Hologres:Apache Superset

Last Updated:Mar 26, 2026

Connect Apache Superset to Hologres to run queries and build dashboards on your Hologres data.

Apache Superset is an open-source business intelligence (BI) tool for data exploration and visual analytics, built with Python, Flask, Pandas, and SQLAlchemy. Because Hologres is PostgreSQL-compatible, Superset connects to it using the standard PostgreSQL driver.

Prerequisites

Before you begin, ensure that you have:

Step 1: Gather your connection details

Collect the following information before opening Superset. Having these values ready prevents you from interrupting the configuration midway.

ParameterWhere to find it
HOSTLog on to the Hologres console. In the left-side navigation pane, click Instances. Click the instance ID, then go to the Instance Details page. In the Network Information section, copy the endpoint.
PORTFound in the same Network Information section as HOST.
DATABASE NAMEIn the Hologres console, click Manage in the Actions column of your instance. Go to Database Management > Database Authorization to see the database name.
USERNAMEYour Alibaba Cloud AccessKey ID. Get it from AccessKey Management.
PASSWORDYour Alibaba Cloud AccessKey secret.
Important

Select the endpoint that matches the network environment where Superset runs (public or VPC). Using the wrong endpoint type causes the connection to fail.

Step 2: Configure the database connection in Superset

This procedure uses Apache Superset V0.38.0 as an example. Steps may vary slightly in other versions.

  1. Log on to Superset. In the top menu bar, choose Sources > Database Connections to go to the Databases page.

  2. In the upper-right corner, click DATABASE to open the Connect a database page.

  3. Select PostgreSQL.

    image

  4. Fill in the connection parameters using the values you gathered in Step 1.

    ParameterDescription
    HOSTThe endpoint of your Hologres instance.
    PORTThe port number of your Hologres instance.
    DATABASE NAMEThe name of the Hologres database to connect to.
    USERNAMEYour Alibaba Cloud AccessKey ID.
    PASSWORDYour Alibaba Cloud AccessKey secret.
    DISPLAY NAMEA display name for this database connection in Superset.
    ADDITIONAL PARAMETERSSet application_name=superset to identify queries from Superset in Hologres query logs.
  5. Click FINISH. Superset validates the connection and saves the configuration. After the connection is saved, the database appears in the Databases list and is available as a data source for charts and dashboards.

What's next

  • Build charts and dashboards using the Hologres data source. See Apache Superset with PostgreSQL for details on using Superset with a PostgreSQL-compatible database.