Connection Modes
There are two ways to connect Hex to Honeydew:- Via a Snowflake connection, utilizing the Honeydew Snowflake Native Application
- Via a Trino connection, using the SQL interface
Connection Setup
Setting up a New Trino Data Connection
Hex database connections are mapped to a Honeydew workspace and branchIt is recommended to use an API Key for setting up the connection.
- Go to Data browser and add a new data connection
- Choose Trino from the list of supported databases
- Set a unique Name for the connection
- Set Host to
jdbc.honeydew.cloud
and port to443
- Set Catalog to
<workspace>__<branch>
value, based on the Honeydewworkspace
andbranch
you would like to connect to. Omit the branch value if connecting toprod
. For example, for workspacetpch
, branchprod
, the value would be:tpch
. And for workspacetpch
, branchdev
, it would betpch__dev
. - Set Username to the API key (or a Honeydew username), and Password to the API secret (or to the user’s password in Honeydew).
- Click Create Connection
If your organization uses a custom hostname for the JDBC connection,
you can locate it in the Honeydew UI, under the JDBC section in Settings.
Connecting via Snowflake Connection using the Snowflake Native Application
- Create a Snowflake database connection in the account where you have the Honeydew Snowflake Native Application installed
- Run SQL queries in Hex using the Honeydew Snowflake Native Application
query interfaces (
SELECT_FROM_FIELDS
orSELECT_FROM_QUERY
) to query the data.