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.
Step-by-Step Guide
Scenario 1: Firebase Data Source Already Connected
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.
Scenario 2: Firebase Data Source Not Already Connected
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.
Why Use "Using Functions"?
Last updated
Was this helpful?