- Go to https://console.aws.amazon.com/cognito/
- Click
Manage your User Pools - Click
Create a user pool - Fill-in
Pool name - Click
Review defaults - Click
Create user pool - Copy
Pool Id📋 - Select
App clientsin the left nav. - Click
Add an app client - Fill-in
App client name - Click
Create app client - Click
Show detailsand copyApp client idandApp client secret📋
- Go to https://console.aws.amazon.com/cognito/
- Click
Manage Federated Identities - Click
Create new identity pool - Fill-in
Identity pool name - Under the heading
Authentication providers, in theCognitotab, fill-in theUser Pool IdandApp client idfrom the user pools step.
- Click
Create create - There will be details for 2 roles. Look at the one for
authenticated identitiesand clickEditnext to the policy document and your policy should look like this:{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "cognito-identity:*", "kinesisvideo:*" ], "Resource": [ "*" ] } ] } - Click
Allow - Copy the
Identity Pool Idfrom the code snippets on the screen. 📋
- You will need all the information from the above steps that have 📋 and paste them into this file on your local copy awsconfiguration.json
- Change the region that the app will stream to by editing the
KINESIS_VIDEO_REGIONconstant in your local copy of KinesisVideoDemoApp.java


