Starting from Speaker version 3.3.0, it became possible to save audio files not only locally but also on Google Drive disk. For this, you need to get your own API key file following the guide below.
Configure the OAuth consent screen
If you are a beginner and have never worked Google Cloud before, you will read and accept the Google Cloud Platform Terms of Service and any applicable services and APIs
STEP 1
Everything is ready to begin the process of getting the key file. Visit the Google Cloud Platform project to select or create a new project
STEP 2
Click + Create Project button to create a new Google Cloud Project. Go to Step 4, if you have already created a project.

Set a unique name for your project, or use default project name. And click the Create button. Please note that the name of the project cannot be changed later.

STEP 3
After creating the project visit the Project Dashboard page.

step 4
Click project Menu > APIs & Services > Dashboard

step 5
Click Enable APIs and Services > find Google Drive API in the list to enable it for your project.


step 6
Click APIs & Services > Credentials. The credential page for your project appears.

step 7
Click Configure Consent Screen. The “OAuth consent screen” screen appears

step 8
Click the user type for your app. If you’re running a Quickstart, select Internal.
Note: For company-internal apps, scopes aren’t listed on the consent screen and use of restricted or sensitive scopes does not require further review by Google.

step 9
Click Create. A second “OAuth consent screen” screen appears.
- Fill out the form:
- If you’re running a quickstart, enter “Quickstart” in the App name field.
- If you’re running a quickstart, enter your personal email address in the User support email field.
- If you’re running a quickstart, enter your personal email address in the Developer contact information field.
- Enter you domain in the Authorized damains.

step 10
Click Save and Continue. The “Scopes” page appears. Click Add or Remove Scopes> Select Google Drive API as shown below and press Update.

step 11
Click Save and Continue. The “Edit app registration” page appears. Add the Google drive email which will be used for the files uploading.

step 12
Click Save and Continue. The “OAuth consent screen” appears, then Click Back to Dashboard.
Create a OAuth client ID credential
step 1
In the left-hand navigation, click Credentials. The “Credentials” page appears.
step 2
Click Create Credentials and select OAuth client ID. The “Create OAuth client ID” page appears.

step 3
Click the Application type drop-down list and select Web application. In the name field, type a name for the credential. This name is only shown in the Cloud Console.

step 4
Enter the path to the admin dashboard of your site in Authorized redirect URIs> click Save.

step 5
The “Credentials” page appears. Download your JSON file to use it in the Speaker plugin.

step 6
Go to Speaker> Storage> select Library+Google Drive in the Storage list to upload your JSON key.

Get a token
Once the key file has been successfully added, you need to get your token by allowing access to the disk to save files.
step 1
Click Get a token>Choose an account>press Continue to give access to the App>Select what Speaker can access> press Continue.

step 2
The “Choose an account” page appears. Select the account where the files will be stored.

step 3
The “Google hasn’t verified this app” page appears. Click Continue.

step 4
The “Speaker wants access to your Google Account” page appears. Check the boxes displayed and Click Continue.

step 5
You will be redirected to the admin dashboard of your site. To check if everything is installed correctly, go to the Speaker>Storage settings and make sure no errors are displayed.
