Tutorial: Connecting Starburst Galaxy to Tabular
Ryan Blue
Co-creator of Apache Iceberg, Co-founder, Tabular
Ryan Blue
Co-creator of Apache Iceberg, Co-founder, Tabular


More deployment options
This tutorial will help you connect to Tabular from Starburst Galaxy, a managed SQL engine from the creators of Trino.
Prerequisites
For this tutorial, youāll need to have aĀ Tabular accountĀ and aĀ Starburst Galaxy account.
Both services offer free accounts that you can sign up for by clicking the links below:
- Sign up for Tabular
- Go toĀ Starburst GalaxyĀ and clickĀ Start Free
Tabular
In Tabular, youāll need to create a credential that allows Galaxy to connect to a warehouse.
This tutorial will connect theĀ sandbox
Ā warehouse, which is hosted by Tabular and available by default in new organizations.
To use a specific warehouse, select it before moving on.
1. Click on the 3-dot menu in the upper left and selectĀ Create a credential
Select Create a credential
2. Add a name for the credential, āStarburst galaxyā
Enter a name for the credential
3. Click the copy icon to copy the credential to your clipboard
Copy the credential key and secret
Next, youāll create a catalog in Starburst Galaxy that uses this credential to authenticate with Tabular.
Starburst Galaxy
In Starburst, the first thing youāll see is the query editor, with a menu on the left.
The first step is to add a Tabular warehouse as a Galaxy catalog.
1. Click onĀ CatalogsĀ in the menu
SelectĀ CatalogsĀ in the Galaxy menu
2. Click theĀ Create catalogĀ button
SelectĀ Create catalog
3. Select the Tabular tile
Select theĀ TabularĀ tile
4. Enter catalog details, a Tabular credential, and clickĀ Test connection
Fill in the catalog details, including a name for the catalog in Trino and the Tabular warehouse name.
Use the Tabular OAuth credential you created in Tabular above to authorize the connection. When youāre ready to continue, clickĀ Test connection.
Enter catalog details, your credential, and clickĀ Test connection
5. ClickĀ Connect catalogĀ to continue
Once the connection test is passing, clickĀ Connect catalogĀ to continue Galaxy setup.
Click Connect catalog when the connection test passes
6. Set up access roles and save
After adding the catalog, you can configure roles that have access to the catalog.
When youāre finished adding roles, clickĀ Save access controls.
ClickĀ Save access controls
7. Add the catalog to a cluster
To use the new catalog with a cluster, select one or more clusters in the drop-down. Then selectĀ Add to cluster.
TabularāsĀ sandbox
Ā warehouse is located in the us-east-1 region and can only be used with clusters in that region.
Add a cluster and continue by selectingĀ Add to cluster
8. Go to the query editor
After adding the catalog, youāll see a confirmation window. SelectĀ Query my dataĀ to navigate to the query editor.
Go to the query editor using theĀ Query my dataĀ button
9. Explore example tables
In the query editor, runĀ use examples
Ā andĀ show tables
Ā to list example tables in Tabular that you can query. Youāll see theĀ nyc_taxi_yellow
Ā table and other examples.
Congratulations, Starburst Galaxy is configured to use Tabular!
Test out some queries
Next: Learn more about data warehouse features
Now that you have Starburst Galaxy set up to work with Tabular, you can learn more about data warehousing in Trino from theĀ Trino and Apache Iceberg tutorial.
This tutorial was originally published on Tabular.