Firebase
Cloud Web app configRead and write Firebase data from any Windmill script, flow or app.
Set up in 3 steps
Get your credential
In the Firebase console, open Project settings and copy your web app's config object — apiKey, authDomain, projectId, storageBucket, messagingSenderId and appId.
Add the resource in Windmill
Open Resources, add a resource of type firebase, and fill it in.
Run your first script
Fork any script below and read before writing anything.
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
firebase — the shape of the credential every script on this page expects.
| Field | Type | Required | What it is |
|---|---|---|---|
| apiKey | string | Yes | |
| appId | string | Yes | |
| authDomain | string | Yes | eg.: [PROJECT_ID].firebaseapp.com |
| measurementId | string | No | (optional) Used for Firebase Analytics |
| messagingSenderId | string | Yes | |
| projectId | string | Yes | |
| storageBucket | string | Yes | eg.: [PROJECT_ID].appspot.com |
Questions
Is the apiKey a secret?
Not really — a Firebase web config is meant to ship to browsers. What protects your data is your security rules, so review them before letting a script write.
Is my credential stored on the hub?
Never. It lives only in your own Windmill workspace, encrypted at rest.