Step 1. Create a user pool - Amazon Cognito

Step 1. 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.

Original console

To create a user pool

  1. Go to the Amazon Cognito console. If prompted, enter your AWS credentials.

  2. Choose Manage User Pools.

  3. In the top-right corner of the page, choose Create a user pool.

  4. Enter a name for your user pool, and choose Review defaults to save the name.

  5. In the top-left corner of the page, choose Attributes, choose Email address or phone number and Allow email addresses, and then choose Next step to save.

    Note

    We recommend that you enable case insensitivity on the username attribute before you create your user pool. For example, when this option is selected, users will be able to sign in using either "username" or "Username". Enabling this option also enables both preferred_username and email alias to be case insensitive, in addition to the username attribute. For more information, see CreateUserPool in the Amazon Cognito user pools API Reference.

  6. In the left navigation menu, choose Review.

  7. Review the user pool information and make any necessary changes. When the information is correct, choose Create pool.

New console

To create a user pool

  1. Go to the Amazon Cognito console. If prompted, enter your AWS credentials.

  2. Choose User Pools.

  3. In the top-right corner of the page, choose Create a user pool to start the user pool creation wizard.

  4. 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 or Username. The Make user name case sensitive option also governs case sensitivity of the preferred_username and email aliases. When user name is case sensitive, you must take additional security precautions. For more information, see User pool case sensitivity.

  5. 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.

  6. 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.

  7. 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.

  8. 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

  9. 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

Step 2. Add an app to enable the hosted web UI