Guides & tutorials

How to create an IAM user to use the Amazon Cognito REST API

Import this tutorial scenario in your workspace
Table of contents

In this tutorial, we will cover how to create an Amazon Cognito IAM user to use the REST API. After creating the user, you will be able to connect your Amazon Cognito account to Arengu using the following settings:

  • Region
  • Access key ID
  • Secret access key

1. Create an IAM user

Go to the IAM console and select Users:

Click on Add Users:

  • Add a desired "User name"
  • Check “Access key - Programmatic access”

Click on Next: Permissions.

If you don't have a group with policies to manage Amazon Cognito with full access, let's create one:

  • Add desired Group name
  • Check "AmazonCognitoPowerUser"
  • Click on Create Group

Continue to the next steps if you need to add a tag and create the user:

Here you will find your Access key ID and Secret access key.

2. Getting your Amazon Cognito connection ready

Add a new connection to Arengu with the previous information:

You can easily find your region in your AWS admin URL, eg. us-east-1

You might like to read

See more tutorials

Getting started with Arengu

Arengu allows you to build all your user flows connected to your current stack, and avoids coding all the UI, complex integrations, validations or logic from scratch. Try it for free and start building faster and scaling your application needs as they grow.