Links

Create Account

By using this action, you can provide your users with the flexibility to create their accounts in different ways, according to their preferences. They can create an account using their email and password, which is a common method for authentication. Alternatively, they can choose to create an account using their social accounts, which can save them time and effort.
Moreover, some users may prefer to create an account anonymously, without providing their personal information.

Types of signup

You can add the following signup options to your app:
  • ​Email​
  • Google
  • Apple
  • Facebook
  • Anonymous

Email signup

Ensure you have enabled the 'Authentication' in your Firebase project. See detailed instructions here.
Follow the steps below to add email signup action:
  1. 1.
    Select the widget (e.g., Button) on which you want to add the action.
  2. 2.
    Select Actions from the properties panel (the right menu), If it's the first action, click + Add Action button. Otherwise, click the "+" button below the previous action tile (inside Action Flow Editor) and select Add Action.
  3. 3.
    Search and select the Create Account (under Backend/Database > Firebase Authentication) action.
  4. 4.
    Set Auth Provider to Email.
  5. 5.
    Set the Email Field dropdown to the widget name that accepts email (e.g., TextFieldEmail).
  6. 6.
    Set the Password Field dropdown to the widget name that accepts a password (e.g., TextFieldPassword).
  7. 7.
    Similarly, If you have a confirm password field in your UI, set the Confirm Password Field to the appropriate one.
  8. 8.
    The Create User Document is enabled by default. That means a user document (if not already exist with details like email and uid) will be created after the user is authenticated. Typically this will be added to the 'users' collection.
    1. 1.
      To create a user document in a different collection, set the Created Document > Collection dropdown to the one you need.
    2. 2.
      If you need more details at signup, such as name, age, and birthday, click on the + Add Field and set its value. Ensure that you have already created these fields in a 'users' collection.
Adding Email signup action
Adding Email signup action