GeezerVison is showing hub.windmill.dev — CockroachDB integration | Windmill Hub
1 Create an API key
In the CockroachDB Cloud console, open Access Management then Service Accounts. Create one with the roles your scripts need, then create an API key for it.
2 Add the resource in Windmill
Open Resources, add a resource of type cockroachdb, and paste the token.
3 Run your first script
Fork any script below and read before writing anything. There are hundreds here, so search by the verb you need.
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 → Resource type
The shape of the credential every script on this page expects.
| Field | Type | Required | What it is |
|---|
| token | string | Yes | Access token retrieved from the dashboard. |
Questions
Is this for running SQL?
No. This manages the Cloud account — clusters, users, networking. To query a database, add a postgresql resource pointing at the cluster.
Creating clusters costs money
A cluster bills from the moment it exists. Scripts that create one should have a matching path that deletes it.
Is my token stored on the hub?
Never. It lives only in your own Windmill workspace, encrypted at rest.