ClickHouse

Databases Host, username and password Windmill docs

Run analytical queries against ClickHouse from any Windmill script, flow or app.

Set up in 3 steps

1

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.

2

Add the resource in Windmill

Open Resources, add a resource of type clickhouse, and fill the fields.

3

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.

Submit a script →

Run Query

Script clickhouse Verified

Update service state

Script clickhouse Verified

Update service password

Script clickhouse Verified

Update service basic details

Script clickhouse Verified

Update service backup configuration

Script clickhouse Verified

Update service auto scaling settings

Script clickhouse Verified

Update organization member.

Script clickhouse Verified

Update organization details

Script clickhouse Verified

Update key

Script clickhouse Verified

Remove an organization member

Script clickhouse Verified

Organization activity

Script clickhouse Verified

List organization members

Script clickhouse Verified

List of service backups

Script clickhouse Verified

List of organization services

Script clickhouse Verified

List of organization activities

Script clickhouse Verified

List all invitations

Script clickhouse Verified

Get service details

Script clickhouse Verified

Get service backup configuration

Script clickhouse Verified

Get prometheus metrics

Script clickhouse Verified

Get private endpoint configuration

Script clickhouse Verified

Get organization details

Script clickhouse Verified

Get member details

Script clickhouse Verified

Get list of available organizations

Script clickhouse Verified

Get list of all keys

Script clickhouse Verified

Get key details

Script clickhouse Verified

Get invitation details

Script clickhouse Verified

Get backup details

Script clickhouse Verified

Delete service

Script clickhouse Verified

Delete organization invitation

Script clickhouse Verified

Delete key

Script clickhouse Verified

Resource type

The shape of the credential every script on this page expects.

FieldTypeRequiredWhat it is
hoststringNoDatabase host
passwordstringNoDatabase password or API key secret (Cloud API)
usernamestringNoDatabase 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.