Firestore, Firebase Auth & Realtime DB

UI Bakery allows you to easily connect to Firebase Admin API with no need for additional layers like APIs or third-party services. It's possible to connect to Firestore, Firebase Auth, and Firebase Realtime DB.

In this article, we'll explore how you can configure these data sources and work with them.

If you want to dive deeper and learn more about Firebase possibilities with UI Bakery, make sure to check out these articlesπŸ‘‡

Perform CRUD operations with Realtime DB & Firestore

Provide authentication to your database in UI Bakery

Connect from the client

Connect Firebase libraries for more capabilities

Configuration

Prerequisites

Before connecting to your Firebase services, you will need to obtain one or several of the credentials listed below:

  • Firebase project ID

Navigate to the Firebase console and copy the project ID of the required project.

  • Firebase database URL

Navigate to your project and select Realtime DB in the left side menu - you'll need to copy the project URL there and save it for later.

The URL pattern is https://your_project.firebaseio.com/.

  • Private key

Navigate to Project settings > Service accounts. There, select Firebase Admin SDK and click Generate new private key.

Connecting the data source

Once you've obtained the necessary credentials, you can proceed to connecting the data source:

  1. On the Data sources page, click Connect, and select the necessary option in the Data sources list - Firestore, Firebase Auth, or Firebase Realtime DB.

  2. Next, specify the required credentials:

    1. For Firestore, specify the private key and the project ID.

    2. For Firebase Auth, specify the private key.

    3. For Firebase Realtime DB, specify the private key and the Firebase database URL.

  3. Click Test connection to check whether the data source can be connected, and then click Connect Datasource to complete the setup.

Usage

Once you've connected the data source, you can start interacting with its data. For this purpose, you can use the Firebase Query action step.

Last updated

Was this helpful?