Reference
Nodes
Resources
Firebase

Firebase Resource

Access Firebase Real-time Database (opens in a new tab): Query or update hierarchical, JSON-like data in a NoSQL database.

Please note: The Firebase resource currently only works with the Firebase real-time database. It does not work with either Firestore or Storage.

Configuration Steps

  1. Open or create the Firebase project you'd like to connect to in the Firebase Console (opens in a new tab).
  2. Click on the gear icon ⚙️ in the top left corner of the the project overview page followed by "Project Settings".
  3. Copy the Project ID and Web API Key from the Your Project section and paste them into the appropriate fields in Dynaboard.
    • Secret fields (e.g. passwords or certificates) require clicking the ✓ to the right of the field to save the input.
  4. Return to the project overview page and click on "Real-time Database" in the side panel.
  5. Copy the real-time database URL from the dashboard and paste it into Dynaboard.
    • Real-time database URLs generally follow the format: https://project-id-default-rtdb.firebaseio.com/
  6. (Optional) If you only want to access public data, you do not need to provide a user email and password. However, if you'd like to access private data, return to the project overview page and click on "Authentication" in the side panel.
  7. To provide authenticated access to Dynaboard you'll need to have email/password based authentication enabled.
  8. Once enabled you can create a dedicated user for Dynaboard and copy over the credentials.
  9. Note: Filling in the Storage Bucket Name in Dynaboard is not currently supported.
  10. Once you're done, click "Test Connection" at the bottom of the panel in Dynaboard to verify everything works!

Common Configuration Errors

  • A secret may be unsaved (e.g. passwords or certificates). Click the ✓ to the right of the field to save it. The text will disappear after a successful save.
  • Depending on your setup ensure that either the appropriate account or public users have the ability to access the data you're trying to query / update / insert.

Properties

Environment Profiles

Propprofiles
Typearray
Default[ { 'environment': '' } ]

The profiles configured for this resource in an environment

Environment Profile

Propprofiles[]
Typeobject
Defaultundefined

A profile of this resource for an environment

Database URL

Propprofiles[].databaseUrl
Typestring
Defaultundefined

Full database URL, region-dependent.

Project ID

Propprofiles[].firebaseProjectId
Typestring
Defaultundefined

"Project ID" in Google's project settings.

Web API Key

Propprofiles[].webApiKey
Type({ ref: string } | undefined)
Defaultundefined

"Web API key" in Google's project settings.

User Email

Propprofiles[].email
Typestring
Defaultundefined

Email of the authorized user.

User Password

Propprofiles[].password
Type({ ref: string } | undefined)
Defaultundefined

Password of the authorized user.

Environment

Propprofiles[].environment
Typestring
Defaultundefined

The name of the environment with which this profile is associated

Actions

Query Data

Fetches data from Firebase according to conditions.

ParameterTypeDefault
pathstringundefined

Insert or Update Data

Inserts or updates a subtree at a given path.

ParameterTypeDefault
pathstringundefined
valueunknownundefined

Delete Data

Deletes a subtree at a given path.

ParameterTypeDefault
pathstringundefined