> ## Documentation Index
> Fetch the complete documentation index at: https://magicads.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# AWS TTS Integration

> Enhance your Davinci AI platform with Amazon Polly Text to Speech capabilities. This guide walks you through setting up and leveraging Amazon Polly text to speech feature.

<Note>This tutorial is for AI Voiceover feature where AWS is used to convert Text to Speech</Note>

## Introduction

Davinci AI’s AWS TTS integration unlocks advanced text to speech capabilities for your platform. With access to various languages and voices that AWS supports, you can let your users use them at the AI Voiceover service.

## AWS Account Creation

To be able to use your **AWS Text to Speech** with **AI Voiceover** feature, follow these steps to setup your AWS account.

<Steps>
  <Step title="Step 1">
    If you don’t have an AWS account, [sign up here](https://aws.amazon.com/)
  </Step>

  <Step title="Step 2">
    If you need help during registration with AWS, follow this short [how to create an AWS account](https://aws.amazon.com/resources/create-account/) intructions.
  </Step>

  <Step title="Step 3">
    Afterwards, make sure you are logged in either as root admin or with IAM user that has admin privileges.
  </Step>

  <Step title="Step 4">
    You have completed the AWS Account creation process, follow to the next intructions listed below.
  </Step>
</Steps>

## AWS IAM User Creation

By default all access to IAM users are denied, except for the root user. Make sure to keep your root user credentials in a secure place, you don't need them for Davinci AI.

<Steps>
  <Step title="Step 1">
    Sign in to the [AWS Management Console](https://console.aws.amazon.com/console/) and open the [IAM](https://console.aws.amazon.com/iam/) console.
    <Tip>Or simply search for IAM service once you are logged in</Tip>
  </Step>

  <Step title="Step 2">
    Once you are at the IAM service page, in the left navigation pane, choose **Access management** -> **Users** and then click on **Create User** button.

    1. Provide **User name** as needed, and click on **Next** button

    <img src="https://mintcdn.com/magicads/sOSxKmkB3A1LT8Q_/images/ai/aws/polly/iam-1.png?fit=max&auto=format&n=sOSxKmkB3A1LT8Q_&q=85&s=cbf152edea92473ed50df5f36ce44e3f" width="1680" height="463" data-path="images/ai/aws/polly/iam-1.png" />

    2. On the **Set permissions** page, specify how you want to assign permissions to this set of new users. Choose **Attach policies directly option**. It will show you all the availalbe policies.
       <br /> Select and add following 2 policies:

    * **AmazonS3FullAccess**
    * **AmazonPollyFullAccess**
      <br />Click on **Next** button afterwards

    3. On the **Review and create** step, you should see following policies being added.
       Click on **Create User** button.

    <img src="https://mintcdn.com/magicads/sOSxKmkB3A1LT8Q_/images/ai/aws/polly/iam-2.png?fit=max&auto=format&n=sOSxKmkB3A1LT8Q_&q=85&s=e91327a05bf67a92fd8a3a90e49543fb" width="1666" height="689" data-path="images/ai/aws/polly/iam-2.png" />
  </Step>

  <Step title="Step 3">
    Once you have created a new IAM user, he will be available at the **Users** list. Click on your newly created user. You will be shown full details of that newly created user. Next:

    1. Select the **Security credentials** tab
    2. And click on **Create access key** button

    <img src="https://mintcdn.com/magicads/sOSxKmkB3A1LT8Q_/images/ai/aws/polly/iam-3.png?fit=max&auto=format&n=sOSxKmkB3A1LT8Q_&q=85&s=fa90be138d75f94aee4e5ea6da6628b6" width="1650" height="185" data-path="images/ai/aws/polly/iam-3.png" />

    3. Select **Third-party service** from the list and click on **Next** button.

    <img src="https://mintcdn.com/magicads/sOSxKmkB3A1LT8Q_/images/ai/aws/polly/iam-4.png?fit=max&auto=format&n=sOSxKmkB3A1LT8Q_&q=85&s=a6949a3211ff4879e934e2de52cbfd6e" width="1379" height="854" data-path="images/ai/aws/polly/iam-4.png" />

    4. Copy your **Access Key** and **Secret Access key** and store them in a secure place.
  </Step>

  <Step title="Step 4">
    Next, go to the **Admin Panel** -> **AI Settings** -> **AI API Keys** page and select **AWS** from the list

    <img src="https://mintcdn.com/magicads/sOSxKmkB3A1LT8Q_/images/ai/aws/polly/iam-5.png?fit=max&auto=format&n=sOSxKmkB3A1LT8Q_&q=85&s=e4274df29e1d7c3145555306eea995d9" width="782" height="110" data-path="images/ai/aws/polly/iam-5.png" />
  </Step>

  <Step title="Step 5">
    Include your **Access Key** and **Secret Access Key** that you copied earlier and select a target **AWS region**. <br />
    Make sure to turn on **Activate AWS Standard voices** and **Activate AWS Neural voices** checkboxes.
    <Warning>Note that Amazon Polly is not available in every region, especially their `Neural` voices, double check AWS documentations to make sure that Amazon Polly Neural voices are indeed available in your target region that you want to use.</Warning>

    <img src="https://mintcdn.com/magicads/sOSxKmkB3A1LT8Q_/images/ai/aws/polly/iam-6.png?fit=max&auto=format&n=sOSxKmkB3A1LT8Q_&q=85&s=b6d9f41bf5fb8b5d01daadf521dfe473" width="1322" height="532" data-path="images/ai/aws/polly/iam-6.png" />
  </Step>

  <Step title="Step 5">
    After you are done with configuration, click on the **Save** button.
  </Step>

  <Step title="Step 6">
    You have completed the AWS IAM creation process, follow to the next intructions listed below.
  </Step>
</Steps>

<Check>
  You have successfully comleted the setup AWS for AI Voiceover feature.
</Check>
