Call Transcription with Google Speech-to-Text

This article will walk you through the process of setting up call transcription with Google Speech-to-Text.

Updated at July 27th, 2024

1stream Enterprise Required

1stream Enterprise Required

This feature is available for only 1stream Enterprise licensed users and higher plans. If you don't have this and would like this feature to be available, please reach out to your Sales Representative to upgrade user licensing.

 

GCP Consumption Required

This process will cause consumption-based charges to start in your Google Cloud Platform account. Consult your bill after a day or two to determine if your settings need to be adjusted, or if this is not a right fit for you.

 

Requirements

You must have the following in order to proceed:

  • A Google Cloud Platform account to create a new project under.
  • Call recording enabled for whichever calls you want to analyze.

Create the Project in Google Cloud

  1. Create a new project in Google Cloud with whichever name you prefer and select that project. Note down the Project ID, as you need that later.
  2. In the top search bar, search "speech" and select Cloud Speech-to-Text API.
  3. Select Enable to enable the API for use in the project.
  4. On the left side of the new page, click Credentials.
  5. In the top menu, go to Create Credentials > Service account.
  6. Enter a name for the service account and click Create and Continue.

     
  7. Under Select a role, search for "speech" and then select Cloud Speech Administrator.
  8. Click Add Another Role, then search for and select Storage Admin.
    image-png-Feb-22-2024-08-37-59-3528-PM
  9. Click Done at the bottom.
  10. Click your account name under Service Accounts.

     
  11. In the Keys menu at the top, go to Add Key > Create new key.

     
  12. Select JSON and click Create.
  13. The key is automatically downloaded, and you'll need the contents of that file.

Setup the 1stream CRM Integration

Now that we have our Azure account setup for this, we can setup the 1stream side.

  1. Login to your 1stream admin portal and go to Administration > Manage Organization.
    image-png-Jan-31-2024-05-09-42-1086-PM
  2. Scroll down to the Connected Accounts and CRM Settings section and click the green + sign in the top right.
  3. In the Add New CRM Platform pop up window, select Google Speech and then click Save.

     
  4. Enter in your Project ID and the contents of the JSON file, then click Save.
  5. A new bucket will be created in your Google account to store the recordings that need to be transcribed, formatted as bvoip1s-transcribe-recordings-<randomnumber>.

Next Steps

Follow our guide below on setting up 1stream to send specific call recordings to Google Cloud.