Run analytical queries against ClickHouse from any Windmill script, flow or app.
Set up in 3 steps
Collect the connection details
You need the hostname or IP of the server. Username and password are optional — a default install accepts the default user with no password, which you should not keep in production. Hosted providers show all three on the service page; self-hosted, they are in users.xml.
Add the resource in Windmill
Open Resources, add a resource of type clickhouse, and fill the fields.
Run your first script
Fork any script below and read a small table before running anything heavy.
Scripts
Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.
Run Query
Update service state
Update service password
Update service basic details
Update service backup configuration
Update service auto scaling settings
Update organization member.
Update organization details
Update key
Remove an organization member
Organization activity
List organization members
List of service backups
List of organization services
List of organization activities
List all invitations
Get service details
Get service backup configuration
Get prometheus metrics
Get private endpoint configuration
Get organization details
Get member details
Get list of available organizations
Get list of all keys
Get key details
Get invitation details
Get backup details
Delete service
Delete organization invitation
Delete key
Resource type
The shape of the credential every script on this page expects.
clickhouse
View raw schema →| Field | Type | Required | What it is |
|---|---|---|---|
| host | string | No | Database host |
| password | string | No | Database password or API key secret (Cloud API) |
| username | string | No | Database username or API key id (Cloud API) |
Questions
Why are username and password optional?
A default ClickHouse install accepts the default user with an empty password. Leave them blank only for a server that is not reachable from outside.
Are my credentials stored on the hub?
Never. They live only in your own Windmill workspace, encrypted at rest.