-
-
Notifications
You must be signed in to change notification settings - Fork 103
Amazon Polly Integration
Amazon Polly is a high quality Text-to-Speech service that uses deep learning technologies to synthesize natural sounding human speech.
In order to use Polly, you must have an Amazon Web Services account in good standing. Please refer to this knowledge center article for instructions on how to sign up to AWS.
In order for Firebot to interact with AWS, you must create an IAM user.
-
Open the Amazon Web Services (AWS) Console.
-
From the Services menu, navigate to Security, Identity, & Compliance › IAM
(Alternatively, you can also search for IAM in the provided search bar) -
In the left side menu, under Access Management, navigate to Users
-
Click Add users
-
Give your user a User name (like
firebot
) and under Access type, check only the Programmatic access checkbox. -
At the bottom of the screen, click Next: permissions
-
Click Attach existing policies directly, and from the filtered list, find and check the policy called
AmazonPollyReadOnlyAccess
. Alternatively, you can also create new policy with the following policy document. These are minimum permissions required for the Amazon Polly integration to work.{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "polly:SynthesizeSpeech", "polly:DescribeVoices" ], "Resource": ["*"] } ] }
-
At the bottom of the screen, click Next: Tags
-
(Optional) Apply any tags you see fit, these are just for administrative purposes.
-
At the bottom of the screen, click Next: Review. Make sure that the following is true:
- User name: set to the name chosen in step 5.
- AWS access type: Programmatic access - with an access key
-
Permissions summary: 1 Managed Policy -
AmazonPollyReadOnlyAccess
-
At the bottom of the screen, click Create user
-
Take note of both the Access key ID and Secret access key displayed on this screen.
-
In Firebot, navigate to Settings › Integrations › AWS and paste the values from step 12 here.
-
Enjoy! You can now use Polly TTS by adding the Text-To-Speech (Amazon Polly) effect (note that it's not the default tts effect) to whatever you like!
Still need help? Come chat with us in the #help channel of our Discord server.