Skip to content

How to get Amazon Polly credentials

ノア edited this page Apr 22, 2024 · 13 revisions

IMPORTANT NOTE: The credentials generated in this guide should be treated like passwords. NEVER share your credentials with anyone unless you know what you're doing. If you think your credentials are compromised, please return to the credentials page, generate new ones and delete the previous ones.

Get Universal credentials instead

If you don't want to setup these credentials yourself, I provide a service that allows you to get access to most TTS engines. Learn more about it here.

Table of content

Create an Amazon Web Services account

image

Create a Cognito access

Once your account has been created, create a Cognito access to link to Izabela.

image

You'll land on the Identity pool creation page. On that page:

  • Select "Guest Access"
  • Click "Next" to confirm

image

  • Select "Create a new IAM Role" (make sure you create a new one, you will run into issues if you select an existing one)
  • Enter "izabela-tts" in "IAM role name"
  • Click "Next" to confirm

image

  • Enter "izabela-tts" in "Name"
  • Click "Next" to confirm

image

  • Click "Create identity pool"

image

You'll land on the Identity pools page. On that page you can copy the "Identity pool ID" for "izabela-tts".

Note: The region is before the ":" within the "Identity pool ID" ("ca-central-1" in this case)

image image

Enable access to Amazon Polly

Once your Cognito access has been created, enable access to Amazon Polly for your Identity Pool.

image

You'll land on the detail page for the role "izabela-tts". On that page:

  • Click on "Add permissions" then click on "Attach policies"

image

You'll land on the policy list page for the role "izabela-tts". On that page:

  • Search "Polly" to filter the list
  • Check "AmazonPollyReadOnlyAccess"
  • Click on "Attach permissions" to confirm

image

After that you should be able to use Amazon Polly in Izabela.