Amazon Cognito
Developer Guide

Getting Started with Amazon Cognito User Pools

With Amazon Cognito user pools, you can create and maintain a user directory and add sign-up and sign-in to your mobile app or web application.

Sign Up for an AWS Account

To use Amazon Cognito user pools, you need an AWS account. If you don't already have one, use the following procedure to sign up:

To sign up for an AWS account

  1. Open, and then choose Create an AWS Account.


    This might be unavailable in your browser if you previously signed into the AWS Management Console. In that case, choose Sign in to a different account, and then choose Create a new AWS account.

  2. Follow the online instructions.

    Part of the sign-up procedure involves receiving a phone call and entering a PIN using the phone keypad.

Creating a User Pool in Amazon Cognito

You can quickly create a user pool through the Amazon Cognito console, or you can use the AWS Command Line Interface (CLI) or the Amazon Cognito APIs. The simplest way is to sign in to the Amazon Cognito console and choose Manage your User Pools. You can find more information about these options in the Setting up User Pools page.

Install the SDK

There are two types of SDKs for Amazon Cognito user pools. We have higher-level client SDKs for iOS, Android, and JavaScript, and the standard AWS SDKs that cover a wider array of languages including Java, C#, and Ruby. The standard SDKs cover all of the APIs of the service, while the higher-level SDKs provide additional features that make it easier to perform some functions. One of the key differences between the two types of SDKs is in signing in users. Amazon Cognito uses a Secure Remote Password (SRP) protocol, which requires some calculations and a couple of requests between the client and the service APIs. In the higher-level SDKs, that process is taken care of for you. The standard SDKs expose the underlying APIs, but they currently do not include built-in support for SRP. To learn more about authentication options, see the User Pool Authentication Flow page.

Follow the links below to the SDKs for Cognito user pools.

Standard AWS SDKs

You can download all the SDKs and find documentation here.

Integrate Your User Pool into Your App

Now that you have created a user pool and installed the SDK, you need to integrate your app with your user pool by creating your user interface and connecting it to the user pool through the SDK. We have example apps for iOS, Android, and JavaScript to help you get started. See our Developer Resources page for more information.