description |
---|
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
To connect to Firebase from the new app flow, follow the steps:
- Select the
Data
Tab from the left menu bar - Click on the
Add Resource
button - Choose Firebase resource
{% @arcade/embed flowId="02StOgDDTvaChE64xFrW" url="https://app.arcade.software/share/02StOgDDTvaChE64xFrW" %}
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
{% @arcade/embed flowId="niLLzEwkvhIKSCNtaAXw" url="https://app.arcade.software/share/niLLzEwkvhIKSCNtaAXw" %}
{% hint style="danger" %} 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. {% endhint %}
To obtain a service key, follow the steps:
- Click on the
Settings
button - Choose Project Settings
- Go to the Service Account tab
- Click on the
Generate new private key
button - Click on the
Generate key
button
{% @arcade/embed flowId="HgPGN726gSBgt5035iCh" url="https://app.arcade.software/share/HgPGN726gSBgt5035iCh" %}
Then you'll need to select the database type: Firestore or Realtime DB:
{% hint style="info" %} To learn more about Firestore and Realtime DB, check the official Firebase article. {% endhint %}
Further steps vary based on the type of database you want to connect to: Firestore or Realtime DB.