# 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/](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](https://manual.mirtapbx.com/uploads/images/gallery/2026-06/scaled-1680-/D5Qimage.png)](https://manual.mirtapbx.com/uploads/images/gallery/2026-06/D5Qimage.png)

Create a Service Account by going in the Service accounts section

[![image.png](https://manual.mirtapbx.com/uploads/images/gallery/2026-06/scaled-1680-/USmimage.png)](https://manual.mirtapbx.com/uploads/images/gallery/2026-06/USmimage.png)

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

[![image.png](https://manual.mirtapbx.com/uploads/images/gallery/2026-06/scaled-1680-/aVzimage.png)](https://manual.mirtapbx.com/uploads/images/gallery/2026-06/aVzimage.png)

#### Using the private key

Now you have the private key saved to your computer

[![image.png](https://manual.mirtapbx.com/uploads/images/gallery/2026-06/scaled-1680-/JhCimage.png)](https://manual.mirtapbx.com/uploads/images/gallery/2026-06/JhCimage.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](https://manual.mirtapbx.com/uploads/images/gallery/2026-06/scaled-1680-/60Simage.png)](https://manual.mirtapbx.com/uploads/images/gallery/2026-06/60Simage.png)

#### Create the shared Drive

In the Gmail account, create a Shared Drive.

[![image.png](https://manual.mirtapbx.com/uploads/images/gallery/2026-06/scaled-1680-/OCmimage.png)](https://manual.mirtapbx.com/uploads/images/gallery/2026-06/OCmimage.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](https://manual.mirtapbx.com/uploads/images/gallery/2026-06/scaled-1680-/enAimage.png)](https://manual.mirtapbx.com/uploads/images/gallery/2026-06/enAimage.png)