Add Google Drive Account
Add a Google Drive storage account to PlaidCloud for importing and exporting data files using Google Drive cloud storage.
Google Drive Setup
These steps need to be completed within the Google Cloud Console to create a service account that PlaidCloud can use to access Google Drive.
Create a Google Cloud Project
- Sign in to the Google Cloud Console
- Create a new project or select an existing one
Enable the Google Drive API
- Navigate to APIs & Services > Library
- Search for Google Drive API
- Select it and click Enable
Create a Service Account
- Navigate to APIs & Services > Credentials
- Select + Create Credentials > Service account
- Enter a name for the service account (e.g.
plaidcloud-drive) - Select Create and Continue
- Optionally grant roles (e.g. Viewer for read-only, or Editor for read/write). Select Continue.
- Select Done
Generate a Service Account Key
- In the Service Accounts list, select the service account you just created
- Navigate to the Keys tab
- Select Add Key > Create new key
- Choose JSON format and select Create
- A JSON key file will download. Save this file securely — it contains the credentials PlaidCloud will use.
Share Drive Content with the Service Account
- Copy the service account's email address (e.g.
plaidcloud-drive@your-project.iam.gserviceaccount.com) - In Google Drive, share the folder(s) you want PlaidCloud to access with this email address, granting Editor access
You should now have everything you need to add your Google Drive account to PlaidCloud Document.
PlaidCloud Document Setup
- Sign into PlaidCloud
- Select the workspace that the new Document account will reside
- Go to
Document > Manage Accounts - Select the
+ New Accountbutton - Select
Google Driveas the Service Type - Fill in a name and description
- Enter the shared folder path into the Start Path field, or leave it blank to access all shared content
- Select an appropriate Security Model for your use case. Leave it
Privateif unsure. - Paste the entire contents of the JSON key file into the OAuth2 Credentials JSON field under Auth Credentials
- Select the Save button and your new Document account is live