We are the WordPress Gurus
Store recordings in Google Drive
On this page
Connect Google Drive and Voice Widgets Pro uploads a copy of each new voice recording to your Drive. It's an easy off-site backup, and handy for sharing recordings with your team.
Before you start
- Your server needs PHP 8.2 or newer.
- You need a Google account and access to the Google Cloud Console to create OAuth credentials.
For a full walkthrough of the Google Cloud steps, see the step-by-step tutorial: https://dev.dna88.com/voice-widgets/google-drive-api-setup/
Step 1: Install the Google client
- Go to Voice Widgets Pro > Google Drive.
- Under Google Client Library, click Download & Install Google Client if it isn't installed yet.
If you see PHP 8.2+ Required, ask your host to upgrade PHP first.

Step 2: Create Google credentials
- On the Google Drive page, click Copy URI next to Authorized Redirect URI.
- In the Google Cloud Console, create a project and enable the Google Drive API.
- Create an OAuth 2.0 Client ID of type Web application.
- Paste the URI you copied into Authorized redirect URIs and save.
- Copy the Client ID and Client Secret that Google shows you.
Warning
The redirect URI must match exactly, including https:// and any trailing characters. Always paste it with Copy URI rather than typing it.
Step 3: Connect your account
- Back on the Google Drive page, set Enable Google Drive to ON.
- Paste your App Client ID and App Secret Key.
- Optional: enter a Google Drive Folder ID to save files to a specific folder. Leave it empty to save to the top level of your Drive.
- Click Save Settings.
- Click Authorize Google Drive Account and sign in with the Google account you want to use. Allow access when asked.
You'll return to the plugin and see Connected to Google Drive.
Tip
To find a folder ID, open the folder in Google Drive. The ID is the last part of the address, after /folders/.
Note
Screenshot coming soon: the Account Connection Status box showing Connected to Google Drive, with Recheck Connection and Disconnect Account buttons (/wp-admin/edit.php?post_type=qcvoicemsg_record&page=wpvoice_to_google_drive)
Check or remove the connection
- Click Recheck Connection to confirm the connection still works.
- If you see Connection Check Failed, the access has expired. Click Authorize Google Drive Account again.
- Click Disconnect Account to stop uploading to Drive. Recordings already in Drive and on your site are kept.
Note
Recordings are always saved on your own server too. Google Drive holds an extra copy.
Was this article helpful?
Sorry about that. Get help another way: