The setup has been completed and is now locked. To reconfigure, delete the config file on the server and restart.
Connect your Google Drive to automatically save generated PDFs. Follow the steps below to complete the one-time setup.
Go to Google Cloud Console, create a new project (or select an existing one).
In the Cloud Console go to APIs & Services → Library, search for Google Drive API and click Enable.
Go to APIs & Services → Credentials → Create Credentials →
Service account. After creating, open the account, go to the
Keys tab → Add Key → JSON. A
.json file will download.
Important: Service accounts cannot store files in regular "My Drive" folders (no storage quota). You must use a Shared Drive.
In Google Drive, go to Shared drives (left sidebar) → create or select one. Create a folder inside. Click Manage members on the Shared Drive → paste the service account email (from Step 3) → set role to Content manager. Open the folder and copy the Folder ID from the URL.
URL
format: https://drive.google.com/drive/folders/FOLDER_ID
Upload/paste the JSON key and enter the folder ID, then test and save.
Drag & drop the .json key file here, or click to browse
https://drive.google.com/drive/folders/FOLDER_ID
— must be inside a Shared Drive