We saw Cognito operations with AWS CLI commands in Chapter 4, Application Security with Amazon Cognito. With web applications, Cognito is generally used with the JavaScript SDK from the frontend. Hence, we will see various uses of Cognito using the JavaScript SDK and then test it using CodePen. We may use CodePen or any other tool, or use it within our application (for example, an Angular app) and then test it.