- Via a JDBC connection, using the Presto protocol
- Via a Snowflake connection, utilizing the Honeydew Snowflake Native Application
Setting up a new Presto Data Source
Retool data sources are mapped to a Honeydew workspace and branch- Go to Resources and click on Create New > Resource
- Search Presto from the full list of resource types, in the Database section
- Click on Presto
- Set a Name for the resource
- Optionally, set a Description for the resource
-
Enter the following Connection String as the input:
Where
<api key>is the generated API key, and<api secret>is the corresponding API secret. Or alternatively:Where<user>is a Honeydew username, and<password>is that user’s password.API key and API secret (or alternatively, user and password) must be url-encoded., i.e.user@domain.comisuser%40domain.com. Encoding can be done using python (from urllib.parse import quote_plus), or via any urlencode website.For example, for userIf your organization uses a custom hostname for the JDBC connection, you can locate it in the Honeydew UI, under the JDBC section in Settings.user@domain.com, password123456and workspacetpch(prodbranch) the URI would be:And fordevbranch: - Click Test Connection to verify the connection settings
- Click Create resource
Connecting via Snowflake Connection using the Snowflake Native Application
- Create a Snowflake data source connection in the account where you have the Honeydew Snowflake Native Application installed
- In query editor for a new query, use the Honeydew Snowflake Native Application
query interfaces (
SELECT_FROM_FIELDSorSELECT_FROM_QUERY) to query the data.