Syncing Firebase Data Using Functions
This is a more efficient data syncing method with Firebase. This replaces the outdated snapshot-based approach, eliminating the need to update entire collections for small changes.
Last updated
This is a more efficient data syncing method with Firebase. This replaces the outdated snapshot-based approach, eliminating the need to update entire collections for small changes.
Last updated
The "Using Functions" feature is exclusive to Firebase Blaze plan users.
Navigate to Data > Connected Data Sources.
Locate your Firebase data source and click on the three dots next to its name in top menu.
Select Stop Sync. (This action does not affect your data.)
Choose Use Direct Connection.
Click on the three dots again and select Sync to Jet Tables.
When prompted, choose the "Using Functions" option.
Follow the instructions to meet the required permissions:
Assign Service Usage Admin, Service Account User, and Cloud Functions Admin roles to the respective principals.
Click Check Configuration. The remaining steps will complete automatically.
Add a new Firebase resource in Jet Admin following the instructions here.
When prompted, choose the "Using Functions" option.
Follow the instructions to meet the required permissions:
Assign Service Usage Admin, Service Account User, and Cloud Functions Admin roles to the respective principals.
Click Check Configuration. The remaining steps will complete automatically.
The "Using Functions" method provides significant advantages e.g. efficiency Only updates the changed document, saving bandwidth and processing time.