Step 1: Add a database
‍
Locate the “Settings” button in the top right and select “Database Connections”
‍
![](https://cdn.prod.website-files.com/66098d655e9084457b00d675/665e6ae1a53fb3b0bf24a202_AD_4nXcBp85EFoayaDpkbvuhRPuXeLP6l0LNuq9wemj8jNyDFmNlGlElCd9Od9F4KoXYk-ZrlZKEXSbndoDMiypSm4pC1pFMRcZ1qigAD1-1PIQo3WevYGY1Ykk1me_TdkUKTckoZc45mSBC_uc6WTadzVbNWVbn.png)
‍
In the resulting screen select “+ Database” and select “Trino” as the database type:
‍
![](https://cdn.prod.website-files.com/66098d655e9084457b00d675/665e6b3aac05fcdfbd1a9684_AD_4nXe8pYOM0SI4t9a_4WCnwaLWHUXdhS66rx0qpsPvFUDHpP0LcXD3Yi57qh9tdum3IcQbkvN5ylAwtkPzCUdtytRB08eQ6p0Px-70RfPDBamRYmKOIboz3r0gMbk5jpQpHOrRS6z2zJAduLofxde7sPZKxlY.png)
‍
Step 2: Configure the database
‍
In the resulting screen under basic tab configure the following properties:
‍
DISPLAY NAME -> Streambased #(or other meaningful name to you)
SQLALCHEMY URI -> trino://streambased.cloud:8443/kafka
‍
Go to Advanced tab click other and enter the engine parameters
‍
{"connect_args":{"http_scheme":"https","schema":"streambased"}}
‍
Step 3: Test the connection
‍
Click “TEST CONNECTION”, you should receive a message similar to the following:
‍
![](https://cdn.prod.website-files.com/66098d655e9084457b00d675/665e6de63fe942905bf21828_AD_4nXf_s3jqhmD5vHU8ITAbdKNGTbvJ9sP0jc0CARHhymxiY-31bZmX3QB5zYkQRCILxLw5fUXkzhSGFdILE8BGunc4CotzXsgA_DyMSEgJMY6cerLrNmOcgbG-KowAi7KV3BO-gPFY0lfHu4GHwdi-vMl9qlvS.png)
‍
Finally, click “CONNECT” to finalise the connection.
‍
Step 4: Run some test queries
‍
Now you can see your database and schema from SQL Lab. Happy querying!
‍
![](https://cdn.prod.website-files.com/66098d655e9084457b00d675/665f405af26bbc4377b50f92_AD_4nXeWnnTIpsD7GgGJ9aZFsTQcFHgh4WAU4X2yl8NlOzKHoy2Z_Om9ei6Nefx3qfF1ZBtV0YoKDj0-KF4VMuaZlyhFBiZCvpraYjy9Eh0JuOP5djBOHxNysnizH4vztbR9gCy7139iXVKF9foU-YQkLy_E9cgS.png)
‍
‍
‍
‍