presto-docs/src/main/sphinx/clients/superset.rst
Apache Superset <https://superset.apache.org/>_ is an open source data exploration tool.
Follow these steps to configure Superset to query Presto.
Install or deploy Superset following the Superset documentation <https://superset.apache.org/docs/intro>_.
You may need pyhive to configure Superset to connect to Presto. See
Connecting to Databases: Presto <https://superset.apache.org/docs/configuration/databases#presto>_
in the Superset documentation.
Log into Superset as described in
Log into Superset <https://superset.apache.org/docs/quickstart#3-log-into-superset>_.
In the Superset UI, select + in the upper right to display the drop-down menu, then select Data, then Connect database.
In the Connect a database window, select Presto.
In SQLAlchemy URI, enter a connection string using the following format:
presto://{hostname}:{port}/{database}
For example, presto://<Presto-IP-address>:8080/system
For more information, see the Superset documentation for connecting to
Presto <https://superset.apache.org/docs/configuration/databases#presto>_.
Select Test Connection. If the message Connection looks good! is
displayed, continue.
Note: If your Presto server is running locally, localhost may not resolve
DNS successfully from the Superset docker compose launched instance to the
local Presto server. Replace <Presto-IP-address> with your system's actual
IP address.
Select Connect.