Create a user pool
Using an Amazon Cognito user pool, you can create and maintain a user directory, and add sign-up and sign-in to your mobile app or web application.
To create a user pool
-
Go to the Amazon Cognito console
. If prompted, enter your AWS credentials. -
Choose User Pools.
-
In the top-right corner of the page, choose Create a user pool to start the user pool creation wizard.
-
In Configure sign-in experience, choose the federated providers that you want to use with this user pool. For more information, see Adding User Pool Sign-in Through a Third Party.
Note
The Make user name case sensitive option is turned off by default. We recommend that you do not activate this option. When the user name is not case sensitive, users can sign in with either
username
orUsername
. The Make user name case sensitive option also governs case sensitivity of thepreferred_username
andemail
aliases. When user name is case sensitive, you must take additional security precautions. For more information, see User pool case sensitivity. -
In Configure security requirements, choose your password policy, multi-factor authentication (MFA) requirements, and user account recovery options. For more information, see Security in Amazon Cognito.
-
In Configure sign-up experience, determine how new users will verify their identities when signing up, and which attributes should be required or optional during the user sign-up flow. For more information, see Managing users in user pools.
Important
If you activate user sign-up in your user pool, anyone on the internet can sign up for an account and sign into your apps. Don't enable self-registration in your user pool unless you want to open your app to public sign-up. To change this setting, update Self-service sign-up in the Sign-up experience tab of the user pool console, or update the value of AllowAdminCreateUserOnly in a CreateUserPool or UpdateUserPool API request.
For information about security features that you can set up in your user pools, see Using Amazon Cognito user pools security features.
-
In Configure message delivery, configure integration with Amazon Simple Email Service (Amazon SES) and Amazon Simple Notification Service (Amazon SNS) to send email and SMS messages to your users for sign-up, account confirmation, MFA, and account recovery. For more information, see Email Settings for Amazon Cognito User Pools and SMS message settings for Amazon Cognito user pools.
-
In Integrate your app, name your user pool, configure the hosted UI, and create an app client. For more information, see Add an App to Enable the Hosted Web UI
-
Review your choices in the Review and create screen and modify any selections you wish to. When you are satisfied with your user pool configuration, select Create user pool to proceed.
Next Step
Add an app client and set up the hosted UI