A concise guide for configuring service account credentials and shared folders, enabling bots or workflows to interact with Google Drive under a service account.
This guide walks you through obtaining and configuring Google Workspace credentials for Google Drive Tools. By following these steps, you’ll enable your bots or workflows to seamlessly read, write, and organize files in Google Drive, leveraging a secure service account.
Enable Google APIs
Activate Google Drive, Sheets, or Docs APIs within your Google Cloud project.
Service Account Creation
Generate a new service account with a JSON key file for secure API access.
Shared Folder Configuration
Share a Google Drive folder with your service account to store or retrieve files.
Workflow Testing
Validate your configuration by listing files or performing read/write operations.
GCP Console
"Genesis_Google_Integration"
Navigate to "Credentials" in APIs & Services in GCP
Within your GCP project:
Navigate to "Service Accounts"
"GenesisBot_ServiceAccount"
) and descriptionCreate a private key for your service account
In Service Accounts, locate your new account. Click Actions (…) > Manage Keys
Add Key > Create New Key
Choose JSON and download the file
Important: Store this file securely. It grants API access with your private key information.
"Genesis_Shared_Folder"
)service-account-id@genesis_gcp_project.iam.gserviceaccount.com
https://drive.google.com/drive/folders/<Folder-ID>
In the Genesis Bots configuration interface (or similar):
"private_key"
value, including the lines: "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----"
"private_key_id"
)private_key
lines are intact and properly formatteddatabase_tools
or process_scheduler_tools
to store processed datasets or logsViewer
role for extra securityAfter setting these parameters, try a sample call to list files in "Genesis_Shared_Folder"
. If you see the correct file list, your bot is ready to read or write in Google Drive under the configured service account.
A concise guide for configuring service account credentials and shared folders, enabling bots or workflows to interact with Google Drive under a service account.
This guide walks you through obtaining and configuring Google Workspace credentials for Google Drive Tools. By following these steps, you’ll enable your bots or workflows to seamlessly read, write, and organize files in Google Drive, leveraging a secure service account.
Enable Google APIs
Activate Google Drive, Sheets, or Docs APIs within your Google Cloud project.
Service Account Creation
Generate a new service account with a JSON key file for secure API access.
Shared Folder Configuration
Share a Google Drive folder with your service account to store or retrieve files.
Workflow Testing
Validate your configuration by listing files or performing read/write operations.
GCP Console
"Genesis_Google_Integration"
Navigate to "Credentials" in APIs & Services in GCP
Within your GCP project:
Navigate to "Service Accounts"
"GenesisBot_ServiceAccount"
) and descriptionCreate a private key for your service account
In Service Accounts, locate your new account. Click Actions (…) > Manage Keys
Add Key > Create New Key
Choose JSON and download the file
Important: Store this file securely. It grants API access with your private key information.
"Genesis_Shared_Folder"
)service-account-id@genesis_gcp_project.iam.gserviceaccount.com
https://drive.google.com/drive/folders/<Folder-ID>
In the Genesis Bots configuration interface (or similar):
"private_key"
value, including the lines: "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----"
"private_key_id"
)private_key
lines are intact and properly formatteddatabase_tools
or process_scheduler_tools
to store processed datasets or logsViewer
role for extra securityAfter setting these parameters, try a sample call to list files in "Genesis_Shared_Folder"
. If you see the correct file list, your bot is ready to read or write in Google Drive under the configured service account.