You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/integrations/firebase.md
+42-4Lines changed: 42 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ Once complete, Dreamflow will confirm the connection with a **Connected** status
48
48
</div>
49
49
<p></p>
50
50
51
-
### First-Time Firebase Project Setup
51
+
### Initial Firebase Project Setup
52
52
53
53
If this is your first time connecting to Firebase, you must create a new project in the Firebase Console and accept the Terms of Service before continuing.
54
54
@@ -254,14 +254,49 @@ To add sample data from Dreamflow, go to the **Firebase** module **> Add Sample
254
254
255
255
Once the process is complete, you will see the generated sample data entries inside your **Cloud Firestore** under the respective collections defined in your schema.
256
256
257
-
:::info
257
+
:::warning
258
258
259
-
This process only inserts sample data into the **Firestore Database**for the specified user email. It does **not** create a user in Firebase Authentication. Make sure the user with the specified email exists in Firebase Authentication to be able to access the data.
259
+
You can only generate sample data **once.**If you need to modify or remove the sample data later, you can do so directly in the **Firebase Console** under **Firestore Database**.
This process only inserts sample data into the **Firestore Database** for the specified user email. It does **not** create a user in Firebase Authentication. Make sure the user with the specified email exists in Firebase Authentication to be able to access the data.
269
+
270
+
You can directly add a user to Firebase Authentication. To do so, open the Firebase Console and navigate to **Authentication > Users**. Click **Add user** in the top-right corner, enter the user’s email and password, and then click **Add User** to create the account.
271
+
272
+
<div style={{
273
+
position: 'relative',
274
+
paddingBottom: 'calc(52.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
Certain Firebase services, such as [Cloud Functions](https://firebase.google.com/docs/functions), require billing to be enabled before they can be used. If your project uses other Firebase services beyond their free tier limits, for example, Cloud Firestore, Cloud Storage (over 5 GB), or Phone Authentication (billed per SMS), you must enable billing on your Firebase project.
@@ -298,9 +333,12 @@ To enable billing on your Firebase project, open the Firebase Console. On the pr
298
333
299
334
## FAQs
300
335
<details>
301
-
<summary> Why do cloud function deployments fail? </summary>
336
+
<summary>
337
+
Why am I getting the error `functions predeploy error: Command terminated with non-zero exit code 2` when deploying Cloud Functions from Dreamflow?
Cloud function deployments usually fail when your Google Cloud Platform (GCP) or Firebase project hasn’t been fully set up with the necessary APIs and permissions.
305
343
306
344
By default, when you create a new Firebase project, some APIs required by Cloud Functions are not enabled automatically. In addition, the default compute service account may not have the correct roles to deploy functions. Without these APIs and permissions, Dreamflow cannot deploy functions successfully, and you’ll see deployment errors.
0 commit comments