Hightouch lets you pull data stored in TrinoDB (previously PrestoSQL) and push it to downstream destinations. Most of the setup occurs in the Hightouch UI, but you need access to your Trino instance for information like your host, port, database name, and credentials.
You need to allowlist Hightouch's IP addresses to let our systems contact your warehouse. Reference our networking docs to determine which IPs you need to allowlist.
To get started, go to the Sources overview page and click the Add source button. Select Trino and follow the steps below.
Choose connection type
Hightouch can connect directly to Trino over the public internet or via an SSH tunnel. Since data is encrypted in transit via TLS, a direct connection is suitable for most use cases. You may need to set up a tunnel if your Trino instance is on a private network or virtual private cloud (VPC).
Hightouch supports both standard and reverse SSH tunnels. To learn more about SSH tunneling, refer to Hightouch's tunneling documentation.
Configure your source
Enter the following fields into Hightouch:
- Host: The hostname or IP address of your Trino coordinator server.
- Port: The port number of your Trino coordinator server.
- Database: This specifies the database to use when Hightouch executes queries in Trino.
- User: This can be your personal Trino login or a dedicated user for Hightouch.
- (Optional) Password: The password for the user specified above.
- (Optional) Default schema: This specifies the schema that will be used when Hightouch executes queries in Trino.
- Engine: Select whether to use the Trino or Presto engine to execute queries.
- (Optional) Disable encryption: Encryption is enabled by default. Check this option if your Trino instance doesn't support encrypted connections.
Test your connection
When setting up Trino as a source for the first time, Hightouch checks that you have the correct permissions. Once the test passes, click Continue to finish setup.
Once your source configuration has passed the necessary validation, your source setup is complete. Next, you can set up models to define which data you want to pull from Trino.
The Trino source supports these modeling methods:
- writing a query in the SQL editor
- using the visual table selector
- leveraging existing dbt models
Hightouch supports all built-in Trino data types. Custom data types provided by plugins are represented as strings.