SurrealDB

Databases Instance URL and token Windmill docs

Query and update a SurrealDB instance from any Windmill script, flow or app.

Set up in 2 steps

1

Collect the instance details

You need the URL SurrealDB gave you when the instance was created, and a token for the namespace and database you intend to reach.

2

Add the resource in Windmill

Open Resources, add a resource of type surrealdb, and fill url and token.

Scripts

Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.

Resource type

surrealdb — the shape of the credential every script on this page expects.

View raw schema →
FieldTypeRequiredWhat it is
tokenstringYesAuthentication token
urlstringYesThe endpoint of the database you want to connect to.

Questions

Are my credentials stored on the hub?

Never. They live only in your own Windmill workspace, encrypted at rest.