3. Collect additional data during account creation
If you only plan to collect a user's email at sign-up, you don't need to set fields and can skip this section.
In case you need more details at signup such as name, age, birthday, etc, you need to set the fields in the "Create Account" action. Setting the fields allows you to add additional data to your users collection.
In the next steps we'll set fields for name and age so that when a user enters name and age while creating an account, it will be stored in users collection in addition to email. You need to first create any custom fields you want to set in the users collection, in this case, we've created name (String) and age (integer).
To create a user account with extra information (apart from email and password) such as name and age: