Setup and Installation of the Google Speech API

Setting up credentials

Log in to your google chrome account and then head to this link:

https://cloud.google.com/sdk/docs/quickstart-linux

Click on SET UP A PROJECT

create a project or select an existing one; this will generate a json file that will be used to authenticate to the API.

save the json file to a directory of your choice.

Authenticating to the API

for a list of way to authenticate: https://cloud.google.com/speech/docs/auth

The easiest way we found to authenticate was through the following

add default credentials as an environment variable via:

export GOOGLE_APPLICATION_CREDENTIALS=PATH_TO_KEY_FILE

and replace path to key file with the path to the json that was generated

results matching ""

    No results matching ""