Sharing orders and recipes on Google Drive using service accounts

In order to upload recipe data to Google Drive, a few steps are required to create necesary accounts and permissions.

Create a project

  • Login to https://console.cloud.google.com/ using your Google Workspace or Personal account

  • Open a project picker (macOS: Cmd-O, Windows: Ctrl-O and create a new project if necessary:

CleanShot 2025-04-19 at 23.55.02@2x-20250420-035515.png
  • Give project a name and click Create

CleanShot 2025-04-19 at 23.56.02@2x-20250420-035606.png

Enable Google Drive API

  • Using the Cloud Console menu, navigate to APIs & Services → Enabled APIs

CleanShot 2025-04-19 at 23.57.01@2x-20250420-035717.png
  • Click Enable APIs

CleanShot 2025-04-19 at 23.58.54@2x-20250420-035905.png
  • Search for Google Drive API and enable it

CleanShot 2025-04-19 at 23.59.46@2x-20250420-035949.png

Create a service account

  • Using Cloud Console menu, navigate to IAM & Admin → Service Accounts

CleanShot 2025-04-20 at 00.00.41@2x-20250420-040051.png
  • Select Create a service account

CleanShot 2025-04-20 at 00.02.02@2x-20250420-040211.png
  • Enter a name and click Continue

CleanShot 2025-04-20 at 00.02.54@2x-20250420-040300.png
  • Skip role assignment

  • Click Done

Capture service key parameters

  • Save the service email

CleanShot 2025-04-20 at 00.05.51@2x-20250420-040553.png
  • Save OAuth 2 Client ID

  • Click into Actions → Manage Keys

CleanShot 2025-04-20 at 00.08.30@2x-20250420-040838.png
  • Create a new key in JSON format

CleanShot 2025-04-20 at 00.10.06@2x-20250420-041009.png
  • A key file should download to your computer

Service accounts provide powerful access to your organization resources. Protect the key file and store it securely, or destroy it after uploading to Customizer.

Share the folder

  • Share the desired destination folder with the service account email

CleanShot 2025-04-20 at 00.19.35@2x-20250420-041943.png
  • Note the folder ID as displayed in the address bar

CleanShot 2025-04-20 at 00.21.17@2x-20250420-042121.png

Configure the integration

  • Open the downloaded JSON file with service account credentials and populate service-account-secret variable.

The value of the secret variable will not be displayed again after saving and reopening the integration.

  • Populate the folder variable