1
Gather your connection details
To connect to ClickHouse with HTTP(S) you need this information:
Choose HTTPS. Connection details are displayed in an example 
If you’re using self-managed ClickHouse, the connection details are set by your ClickHouse administrator.
The details for your ClickHouse Cloud service are available in the ClickHouse Cloud console.
Select a service and click Connect:

curl command.
2
Create a ClickHouse resource
Login to your Retool account and navigate to the Resources tab. Choose “Create New” -> “Resource”:
Select “JDBC” from the list of available connectors:
In the setup wizard, make sure you select
Fill in your ClickHouse credentials in the following format:
After that, test your connection:
Now, you should be able to proceed to your app using your ClickHouse resource.
Select “JDBC” from the list of available connectors:
In the setup wizard, make sure you select
com.clickhouse.jdbc.ClickHouseDriver as the “Driver name”:Fill in your ClickHouse credentials in the following format:
jdbc:clickhouse://HOST:PORT/DATABASE?user=USERNAME&password=PASSWORD.
If your instance requires SSL or you’re using ClickHouse Cloud, add &ssl=true to the connection string, so it looks like jdbc:clickhouse://HOST:PORT/DATABASE?user=USERNAME&password=PASSWORD&ssl=trueAfter that, test your connection:
Now, you should be able to proceed to your app using your ClickHouse resource.