Follow these steps to sync an existing Firebase Cloud Firestore collection
firebase projects:list
. The project ID is displayed along with all the Firebase projects associated with your account.projects.list
. The response body contains the project ID in the FirebaseProject
object.Service accounts
Generate new private key
and open the newly-created JSON
-----BEGIN PRIVATE KEY-----
and end with \\n-----END PRIVATE KEY-----\\n
client_email
field. Paste that in the Bracket web app.
collection/document/collection/document
. You can read about this hierarchy here.
This means that a collection path should always have an odd number of elements. In the example below, mycoll
and mycoll/mydoc/mysubcoll
are both valid collection paths.