Firebase / Firestore
How to build business apps on top of Firebase data
In this article, we'll review the integration with Firebase and will go through the steps necessary to connect it to Jet Admin
Connecting Firebase
To connect to Firebase from the new app flow, follow the steps:
Select the
Data
Tab from the left menu barClick on the
Add Resource
buttonChoose Firebase resource
Obtain service token
You'll need to paste a service token to allow your Firebase to interact with Jet. You can copy and paste or upload a JSON snippet as a file.
To copy and paste a JSON snippet, follow the steps:
In the form, paste the Service Token
Alternatively, you can upload the Service token as a file
It's critical to have a proper data structure in your Firebase database. Otherwise, Jet might not detect all or some parts of it. Read the official Firebase article properly to learn how to structure your data.
To obtain a service key, follow the steps:
Click on the
Settings
buttonChoose Project Settings
Go to the Service Account tab
Click on the
Generate new private key
buttonClick on the
Generate key
button
Then you'll need to select the database type: Firestore or Realtime DB:
To learn more about Firestore and Realtime DB, check the official Firebase article.
Further steps vary based on the type of database you want to connect to: Firestore or Realtime DB.
Last updated
Was this helpful?