Rudy
Rudy2mo ago

Create user in users firestore collection

Hi all, I try to create a user in my firebase users collection. Using the 'create firebase user' node I'm able to create a user in Firebase authentication, which is also visible in my firebase authentication dashboard. As next step I use 'create document' node to create a document in my users collection. For this I would like to use the email address which I used to create the user I would like to use the uid which was generated after the create user action. Somehow I'm not able to create this document in users collection using these 2 items. Building in Flutterflow, using own firestore(not from buildship)
3 Replies
AI Support
AI Support2mo ago
To create a user in your Firebase users collection using the 'create firebase user' node and then create a document in your Firestore users collection, you can follow these steps: 1. Create Firebase User: Use the 'create firebase user' node to create a user in Firebase Authentication. This will generate a uid for the user. 2. Capture UID and Email: Capture the uid and email address from the 'create firebase user' node's output. 3. Create Document in Firestore: Use the 'create document' node to create a new document in your Firestore users collection. Use the captured uid as the document ID and include the email address in the document data. For detailed instructions on how to use the 'create firebase user' and 'create document' nodes, please refer to the following documentation: - Create Firebase User Node Documentation - Create Document Node Documentation If you continue to face issues, please submit your query via the in-app support button for further assistance.
Rudy
Rudy2mo ago
Indeed capture the UID and Email, but how can I 'capture' within buildship?
AI Support
AI Support2mo ago
To capture the UID and Email within BuildShip, you can use the appropriate nodes to handle and store this data. For example, you might use the "Add Document" node to insert user details into a Typesense or Meilisearch collection. For more detailed instructions on how to use these nodes, please refer to the following documentation: - Typesense Integration in BuildShip - Meilisearch Integration in BuildShip If you need further assistance, please submit your query via the in-app support button.
Typesense – BuildShip
The Typesense Integration in BuildShip allows users to leverage Typesense for their searching and indexing needs.
Meilisearch – BuildShip
The MeiliSearch Integration in BuildShip allows users to leverage Meilisearch for their searching and indexing needs.