<!-- MarkdownTOC -->
* [Obtaining Credentials](#obtaining-credentials)
-* [Service Configuration](#service-configuration)
+* [Configuration](#configuration)
* [Voice Configuration](#voice-configuration)
<!-- /MarkdownTOC -->
* Select application type "TV and Limited Input" and enter a name into the "Name" field.
* Click Create. A pop-up appears, showing your "client ID" and "client secret".
-## Service Configuration
+## Configuration
Using your favorite configuration UI to edit **Settings / Other Services - Google Cloud Text-to-Speech** and set:
When enabled the cache is purged once.
Make sure to disable this setting again so the cache is maintained after restarts.
+In case you would like to setup the service via a text file, create a new file in `$OPENHAB_ROOT/conf/services` named `googletts.cfg`
+
+Its contents should look similar to:
+
+```
+org.openhab.voice.googletts:clientId=ID
+org.openhab.voice.googletts:clientSecret=SECRET
+org.openhab.voice.googletts:authcode=XXXXX
+org.openhab.voice.googletts:pitch=0
+org.openhab.voice.googletts:volumeGain=0
+org.openhab.voice.googletts:speakingRate=1
+org.openhab.voice.googletts:purgeCache=false
+```
+
## Voice Configuration
Using your favorite configuration UI: