Skip to main content

Configuring Google Drive as Recording Storage

You can use Google Drive as a Recording Storage only inside a Shared Drive created in Google Workplace. A normal, personal, GMail account cannot use the Google Drive as Recording Storage.

Access the Google Cloud Console

Access your Gmail account then connect to https://console.cloud.google.com/

Create or select a project. Do not chose "My First Project", but create a new project if needed. The "My First Project" has several limitation.

image.png

Create a Service Account by going in the Service accounts section

image.png

Choose Manage keys from the three doc Actions Menu on the right. Create a new JSON key and store it safely.

image.png

Using the private key

Now you have the private key saved to your computer

image.png

The private key will be downloaded once to your computer and cannot be downloaded again. It needs to be regenerated if lost.

Enable API access

image.png

Create the shared Drive

In the Gmail account, create a Shared Drive.

image.png

https://drive.google.com/drive/folders/0ADYbcKYesgiXUk9PVA

Take note of the shared drive ID by accessing it and looking at the address bar. For this folder the shared directory ID is 0ADYbcKYesgiXUk9PVA

Share the shared drive with the service account you have created

You can find the service account email inside the JSON key downloaded

"client_email": "recording@my-pbx-499816.iam.gserviceaccount.com"

Configure the data in the MIRTA PBX

image.png