Firestore, Firebase Auth & Realtime DB
Last updated
Was this helpful?
Last updated
Was this helpful?
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 these data sources and with them.
If you want to dive deeper and learn more about Firebase possibilities with UI Bakery, make sure to check out these articles
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.
Private key
Navigate to Project settings > Service accounts. There, select Firebase Admin SDK and click Generate new private key.
Once you've obtained the necessary credentials, you can proceed to connecting the data source:
On the Data sources page, click Connect, and select the necessary option in the Data sources list - Firestore, Firebase Auth, or Firebase Realtime DB.
Next, specify the required credentials:
For Firestore, specify the private key and the project ID.
For Firebase Auth, specify the private key.
For Firebase Realtime DB, specify the private key and the Firebase database URL.
Click Test connection to check whether the data source can be connected, and then click Connect Datasource to complete the setup.
Once you've connected the data source, you can start interacting with its data. For this purpose, you can use the action step.
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