Set up TTS with Amazon Polly on the 'Publication' level
3rd party integration / Purple Manager
In this article, you learn how to set up TTS (Text-to-speech) for a news feed publication in Purple Manager with Amazon Polly. You will go to your desired newsfeed publication in Purple Manager, add the needed properties for the set-up and enable the TTS function. Afterwards, you will be able to use TTS right away.
- Have the following TTS properties by Hand:
- awsPollyLanguageCode (e.g. en-GB for British English)
- awsPollySampleRate (e.g. 22050)
- awsPollyVoices (e.g. Emma#Neural|female,Amy#Neural|female)
There are a few settings which need to be done either for the 'Team' or for each 'Publication'. If the settings are set for both, the publication settings are preferred. Learn more in this article about Amazon Polly properties.
1. Go to Purple Manager – 'Apps' – 'Overview'
![Go to Purple Manager – 'Apps' – 'Overview' Go to Purple Manager – 'Apps' – 'Overview'](https://images.tango.us/workflows/3cedbcf5-b129-4575-a9c9-5c0e689b271d/steps/0e693c20-6ffb-4dd9-955f-b16026dec72f/0dd110b8-56b9-497c-8375-de33e58e363b.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200)
2. Next to 'Team' click on your team
![Click on your team Click on your team](https://images.tango.us/workflows/3cedbcf5-b129-4575-a9c9-5c0e689b271d/steps/73be11c8-5307-4826-8487-12a677615c07/ba9b257e-4ca3-4dbd-a887-4c8508a1e138.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5039&fp-y=0.4363&fp-z=1.4749&w=1200)
3. Below 'Publication Title' choose the newsfeed publication from the list for which you want to set up TTS, and click on it
![Choose the newsfeed publication from the list Choose the newsfeed publication from the list](https://images.archbee.com/ygR6KtT9QI_R0u3uKTJsm/QGNQA4CSchHd14bjXo8VU_3.png?format=webp)
4. Click on 'Custom Properties'
![Click on 'Custom Properties' Click on 'Custom Properties'](https://images.archbee.com/ygR6KtT9QI_R0u3uKTJsm/cH7r61NPnV-qYREiWB5cH_4.png?format=webp)
5. Click on 'New'
![Click on 'New' Click on 'New'](https://images.tango.us/workflows/3cedbcf5-b129-4575-a9c9-5c0e689b271d/steps/fee5da7c-b014-4273-8de0-95613fcc0330/0cdd74de-1f9d-4dea-afd7-3ceea9209e23.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.4543&fp-y=0.4230&fp-z=1.2669&w=1200)
6. Next to 'Property' insert 'awsPollyLanguageCode'
![Next to 'Property' insert 'awsPollyLanguageCode' Next to 'Property' insert 'awsPollyLanguageCode'](https://images.tango.us/workflows/3cedbcf5-b129-4575-a9c9-5c0e689b271d/steps/5fa1e747-67d6-4a29-b645-6799ed3fe78e/1c72d285-b399-4b97-9788-409b2ab4cd60.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.4944&fp-y=0.4842&fp-z=1.8342&w=1200)
7. Next to 'Value' insert your desired language code e.g. 'en-GB' for English/Great Britain
![Next to 'Value' insert your desired language code Next to 'Value' insert your desired language code](https://images.archbee.com/ygR6KtT9QI_R0u3uKTJsm/-Kav9uDWiSDmsRHcHKnA3_7.png?format=webp)
8. Click on 'Save'
![Click on 'Save' Click on 'Save'](https://images.tango.us/workflows/3cedbcf5-b129-4575-a9c9-5c0e689b271d/steps/9b21494b-f230-4ed4-ac81-bc29d702596a/f4394a94-1dbd-4a08-8ecb-00fd1673a572.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.4912&fp-y=0.5046&fp-z=1.4662&w=1200)
9. Click on 'New'
![Click on 'New' Click on 'New'](https://images.tango.us/workflows/3cedbcf5-b129-4575-a9c9-5c0e689b271d/steps/53ccfaa1-eed2-49dd-8c7c-037b7d86d67e/878a6ed2-bb93-4ad2-a2fe-f1b75573b0b4.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.4897&fp-y=0.5442&fp-z=1.2669&w=1200)
10. Next to 'Property', insert 'awsPollySampleRate'
![Next to 'Property', insert 'awsPollySampleRate' Next to 'Property', insert 'awsPollySampleRate'](https://images.tango.us/workflows/3cedbcf5-b129-4575-a9c9-5c0e689b271d/steps/391e4275-f3b3-493f-a2ef-8831f7c3dfd0/0a7fe057-9a12-49f2-9997-c3bb8ade9125.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5071&fp-y=0.4810&fp-z=1.8342&w=1200)
11. Next to 'Value' insert your desired sample rate, e.g. '22050'
![Next to 'Value' insert your desired sample rate, e.g. '22050' Next to 'Value' insert your desired sample rate, e.g. '22050'](https://images.tango.us/workflows/3cedbcf5-b129-4575-a9c9-5c0e689b271d/steps/2a1839d9-b248-4256-b02c-683387796ace/d8f5bc39-5723-4df2-93b4-62ab710c7807.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200)
12. Click on 'Save'
![Click on 'Save' Click on 'Save'](https://images.tango.us/workflows/3cedbcf5-b129-4575-a9c9-5c0e689b271d/steps/55b3cad9-7163-49bf-ada0-1a0adb817d31/771974ca-b8bc-4507-a99c-621a042ba9a7.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5073&fp-y=0.5125&fp-z=1.4662&w=1200)
13. Click on 'New'
![Click on 'New' Click on 'New'](https://images.tango.us/workflows/3cedbcf5-b129-4575-a9c9-5c0e689b271d/steps/ed9877c3-0968-4f6d-a1b2-77b90cf8fa26/f59f4483-3ab7-420b-ad20-665c27e3950d.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.4658&fp-y=0.5393&fp-z=1.2669&w=1200)
14. Next to 'Property' insert 'awsPollyVoices'
![Next to 'Property' insert 'awsPollyVoices Next to 'Property' insert 'awsPollyVoices](https://images.tango.us/workflows/3cedbcf5-b129-4575-a9c9-5c0e689b271d/steps/2dd92929-b3c9-4c3d-9822-c57a0efa9f0c/40721a46-a29b-4711-a5a2-443b90dc7ee6.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5039&fp-y=0.4504&fp-z=1.8342&w=1200)
15. Next to 'Value' insert your desired Polly voices, e.g. for neural voices in British English 'Emma#Neural|female,Amy#Neural|female'
![Next to 'Value' insert your desired Polly voices Next to 'Value' insert your desired Polly voices](https://images.tango.us/workflows/3cedbcf5-b129-4575-a9c9-5c0e689b271d/steps/4b3bb321-1de9-450d-93d9-6f58fd784fab/5b9f6e2f-cc13-4be1-bbc5-177e480bcdb2.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200)
16. Click on 'Save'
![Click on 'Save' Click on 'Save'](https://images.tango.us/workflows/3cedbcf5-b129-4575-a9c9-5c0e689b271d/steps/db91eb7b-6b9a-443f-b39b-f4a0de4ba38c/fca1d083-2997-450e-ac7e-9eb01eadca92.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200)
17. Click on 'New'
![Click on 'Save' Click on 'Save'](https://images.tango.us/workflows/3cedbcf5-b129-4575-a9c9-5c0e689b271d/steps/5d5008b5-64aa-44f8-b247-ffcbd3ef40a4/a1e72805-5f0a-4964-a9b2-e0f9b3dca134.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200)
18. Next to 'Property' insert 'ttsEnabled'
![Next to 'Property' insert 'ttsEnabled' Next to 'Property' insert 'ttsEnabled'](https://images.tango.us/workflows/3cedbcf5-b129-4575-a9c9-5c0e689b271d/steps/875bfc65-2a14-42cf-8ff1-6a710b591568/e02fa04b-a5cb-4677-8d7c-0611f629ae51.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5071&fp-y=0.4952&fp-z=1.8342&w=1200)
19. Next to 'Value' type 'true'
![Next to 'Value' type 'true' Next to 'Value' type 'true'](https://images.tango.us/workflows/3cedbcf5-b129-4575-a9c9-5c0e689b271d/steps/e5e0d4ed-2e17-48f0-8c94-fa7c7a80869c/eabebd9a-2189-4bd3-8489-9bbeee074818.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200)
20. Click on 'Save'
![Click on 'Save' Click on 'Save'](https://images.tango.us/workflows/3cedbcf5-b129-4575-a9c9-5c0e689b271d/steps/f167e405-8326-4297-810e-dbb81d9ff5ca/8521ba59-a0e8-4c51-852b-53aaf99b18c5.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5001&fp-y=0.5207&fp-z=1.4662&w=1200)
21. Click on 'Close'
![Click on 'Close' Click on 'Close'](https://images.tango.us/workflows/3cedbcf5-b129-4575-a9c9-5c0e689b271d/steps/4efed79f-51cb-4c73-9b47-6e09957c749f/b7a19b73-3e7f-4661-97ff-caed65b89a6a.png?fm=png&crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&w=1200)
You have now successfully set up TTS and you will be able to directly test it in your Purple app for the newsfeed publication to which you have applied it.