Setup ClickHouse for Querio
Create a Dedicated User
For security best practices, create a dedicated user account exclusively for Querio with minimal required privileges:Grant Read-Only Database Access
Limit Querio permissions to only the databases and tables it needs to query:Gather Connection Details
To connect Querio to ClickHouse you’ll need the following connection info:| Parameter | Description |
|---|---|
HOST | The address of your ClickHouse server or cluster |
PORT | Port 9440 (default for secure native protocol) or your configured port |
DATABASE | The database you want Querio to query |
USERNAME | querio_user (or your chosen username) |
PASSWORD | The password for the user account |
- For ClickHouse Cloud, connection details can be found in your cloud console
- For self-managed instances, if your ClickHouse uses a different port, check your server configuration
- Port 9440 is the default for secure native protocol connections
Create your Querio account and connect ClickHouse
Log in or create your Querio workspace at https://app.querio.ai/- In Querio, go to Settings → Datasources and click Add Datasource.
- Select ClickHouse from the list of database options.
- Enter your connection details from above and save the configuration.
- Querio will validate your connection. Once successful, ClickHouse will be available as a data source across your workspace.