Skip to content

Google Cloud Text-to-Speech

The Google Cloud Text-to-Speech modules to convert text or Speech Synthesis Markup Language (SSML) input into audio data of natural human speech.

Getting Started with Google Cloud Text-to-Speech

Prerequisites

  • A Google account

  • A project created in the Google Cloud Console

  • Billing enabled for the Google project

In order to use Google Cloud Text-to-Speech with Ibexa Connect, it is necessary to have a Google account. If you do not have one, you can create a Google account at accounts.google.com.

The module dialog fields that are displayed in bold (in the Ibexa Connect scenario, not in this documentation article) are mandatory!

Connecting Google Cloud Text-to-Speech to Ibexa Connect

To connect your Google Cloud Text-to-Speech account to Ibexa Connect, you will need to obtain the project's Client ID and Client Secret in the Google Cloud Console.

1. Sign in to Google Cloud console using your Google credentials.

2. Click Select a project > NEW PROJECT. Enter the desired project name, and click the CREATE button. You can also select an existing project (and skip creating a new project).

3. Select the project you have created (or an existing project you want to use).

4. Go to APIs & Services > Library.

61d5b464eb784.gif

5. Search and enable the following APIs:

  • Cloud Text-to-Speech API

The desired service option should display as you type. Click on the API/service you want to connect to Ibexa Connect.

6. Click the ENABLE button to enable the selected API. The billing account must be enabled for the project. See the Modify a project's billing settings documentation.

7. Navigate to APIs & Services > OAuth consent screen settings, choose the External option, and click the CREATE button.

61d5b4b7ed376.gif

You will not be charged when selecting this option!

8. Fill in the required fields as follows:

For OAuth consent screen section:

Application name

Enter the name of the app asking for consent.

For example: Ibexa Connect.

User Support Email

Select your email.

Authorized domains

Ibexa Connect.com

Developer contact information

Enter your email.

For the Scopes section:

Click the Add or Remove Scopes button to add the required scopes.

Scopes for Google APIs

Add required scopes for the Google service you want to connect to Ibexa Connect.

61d5ae78ae71f.gif

SERVICE/API

REQUIRED SCOPES

Gmail

                                    https://mail.google.com/
https://www.googleapis.com/auth/gmail.labels
https://www.googleapis.com/auth/gmail.send
https://www.googleapis.com/auth/gmail.readonly
https://www.googleapis.com/auth/gmail.compose
https://www.googleapis.com/auth/gmail.insert
https://www.googleapis.com/auth/gmail.modify
https://www.googleapis.com/auth/gmail.metadata
                                 

Google Drive

                                    https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.readonly
                                 

For the Test Users section (if you are using a GSuite account under an organization):

The Optional Info section is displayed only for non-GSuite users and does not contain any required fields.

This step is required, otherwise you won't be able to establish a connection with Ibexa Connect.

Click the ADD USERS button to add the email address associated with the Google account you want to connect with Ibexa Connect.

11. Navigate to Credentials. Click on the +CREATE CREDENTIALS, and select the OAuth Client ID option.

61d5b4badab54.gif

12. Fill in the required fields as follows, and then click the CREATE button to create the application:

Application type Web application
Name e.g. Ibexa Connect
Authorized redirect URIs https://www.make.com/oauth/cb/google-custom

61d5b4bda4fb0.gif

13. A dialog containing the app's Client ID and Client Secret is displayed. Save them in a safe place for later use.

61d5b4420382a.png

14. Go to Ibexa Connect, open the Create a connection dialog of the desired Google Cloud Text-to-Speech module, enter the Client ID and Client Secret from step 13 above in the respective fields, and click Continue.

61d5b4c2125d0.png

15. Sign in with your Google account.

16. The This app isn't verified window may appear.

The app = your OAuth client you have created above.

17. Click on the Advanced link and then on the Go to Make (unsafe) link to allow access using your custom OAuth client.

61d5b4c38db07.gif

18. Click Allow twice to grant Ibexa Connect permission.

61d5b4c5f4010.gif

19. Click the Allow button to confirm your choices.

61d5b4c7a1769.png

The connection to your Google Cloud Text-to-Speech has been established.

To use Google Cloud Text-to-Speech modules, the billing must be enabled for your project. You can enable a free trial via Storage > Storage > Sign Up For a Free Trial.