Setup Google Cloud Account for Usage of Speech-to-Text Transcription

1.Introduction

To set up your Google Cloud Account for the usage of ‘Speech-to-Text Transcriptions’, you need to first signup for ‘Google Cloud Platform’ account, enable APIs & Services, create storage bucket and then create & download service account credentials. Once the setup is successfully done, you can enter the ‘Google Speech Service Account File Path’ and ‘Cloud Storage Bucket Name’ details in the configuration file of your application so that, you can store the transcriptions in your storage bucket.

The following section guides you with step by step instructions:

2.Step By Step Instructions

To set up your Google Cloud Account for the usage of ‘Speech-to-Text Transcriptions’, you need to first signup for ‘Google Cloud Platform’ account, enable APIs & Services, create storage bucket and then create & download service account credentials. Once the setup is successfully done, you can enter the ‘Google Speech Service Account File Path’ and ‘Cloud Storage Bucket Name’ details in the ‘Transcript’ screen of the ‘3CX Voicemail Manager’ configuration file so that, you can store the transcriptions in your storage bucket. The following section guides you with step by step instructions:

Step-1: Sign up for Google Cloud Platform Account

1. Open web browser and in the address bar, type the link: “https://console.cloud.google.com/” and then in the Google Cloud Platform page, click Sign in. The page navigates you to the Google Sign in page.


Figure 1: Google Cloud Platform sign in

2. Login with your gmail account credentials and then click Next.


Figure 2: Google Sign In

3. From the Country dropdown list, select your country, check the Terms of Service check box and then click Continue.


Figure 3: Select Country

4. In the Customer Info section, enter Account type, Tax information, Name and address details and Payment method and then click on Start My Free Trial.


Figure 4: Start My Free Trial

Step-2: Create Project

1. On the Home menu, click Credentials and then click on Create Project.


Figure 5: Create New Project

2. In the New Project page and in the Project name field, the project name appears automatically. To edit, click on Edit and then enter your desired project name and then click on Create.

Once you create a project, you cannot change the project name.


Figure 6: Project Name

Step-3: Open the Project

1. Once the project is created, on the Home menu, navigate to Dashboard and then click Select Project.


Figure 7: Select Project

2. In the Select a project field, type the name of the project you are searching for. In the search results, identify your desired project and click to open it.


Figure 8: Open Desired Project

Step-4: Enable APIS and Services

1. On the Home menu, point to APIs & Services and then click Dashboard.


Figure 9: APIs & Services – Dashboard

2. In the Dashboard page, click Enable APIS and Services.


Figure 10: Enable APIs and Services

3. In the API Library section, search for Cloud Speech-to-Text API and select the same.


Figure 11: Search for API

4. Click Enable to enable the API.

Figure 12: Enable API

5. You will now be able to see the API enabled icon.


Figure 13: API Successfully Enabled

6. Repeat the same for Cloud Storage API

Once you enable the API, you can see ‘Manage’ button and ‘API enabled’ icon.

Step-5: Create Storage Bucket

1. On the Home menu, point to Storage and then click Browser.


Figure 14: Storage – Browser

2. On the toolbar, click Create Bucket.


Figure 15: Create Bucket

3. In the Name your bucket field, enter the name for your new storage bucket and continue with the options as required and then click Create.


Figure 16: Name of Bucket

Step-6: Create and Download Service Account Credentials and then click Continue.

1. On the Home menu, point to APIs & Services and then click Credentials.


Figure 17: APIs & Services – Credentials

2. On the toobar, click Create Credentials and then select Service account.


Figure 18: Create Credentials – Service Account

3. In the Service accounts page and under Service account details section,enter the Service account name, Service account ID and Service account description and then click Create.


Figure 19: Enter Service Account Details

4. Click Continue and then click Done. Now, in the Service Accounts section, you should be able to see the Service Account you have just created.


Figure 20: Grant User’s access to this Service Account

5. Beside Service Accounts section, click the link: Manage service accounts and search for the desired service account.


Figure 21: Manage Service Accounts

6. Click the Actions button of the desired service account and then click Create Key.


Figure 22: Actions menu – Create Key

7. In the Create private key popup, select the Key type as JSON and then click Create. The file will now download to your local system.


Figure 23: Select ‘JSON’ Key Type

8. In the confirmation message box, click Close.


Figure 24: Confirmation message – ‘Private key saved to your computer’

Suggest Edit

Get the Best Solution for your Business

Whether through one of our commercial products, or a custom solution built to meet your specific needs, we can help you get the most out of your 3CX investment. Call us today!

Contact Us