Connect Google Drive with VectorAmp's service account
Use this setup when VectorAmp asks you to share Google Drive folders with a VectorAmp service account.
VectorAmp service account:
gdrive-ingestion@vectoramp-customer-ingestion.iam.gserviceaccount.com
What you need
- A Google Drive folder URL or folder ID.
- Permission to share that folder.
- If your company blocks external sharing, ask your Google Workspace administrator to allow sharing with the VectorAmp service account above.
Share a folder from Google Drive
-
Open Google Drive.
-
Find the folder you want VectorAmp to ingest.
-
Right-click the folder.
-
Click Share.
-
In Add people, groups, and calendar events, paste:
gdrive-ingestion@vectoramp-customer-ingestion.iam.gserviceaccount.com -
Set the role to Viewer.
-
Leave Notify people unchecked if Google shows that option.
-
Click Share or Send.
VectorAmp only needs Viewer access.
Copy the folder URL
- In Google Drive, open the folder.
- Copy the URL from your browser address bar.
- Paste the full URL into VectorAmp.
A Google Drive folder URL usually looks like this:
https://drive.google.com/drive/folders/1AbCdEfGhIjKlMnOpQrStUvWxYz
VectorAmp will extract the folder ID automatically.
Copy only the folder ID
If you prefer to paste only the ID:
- Open the folder in Google Drive.
- Look at the URL.
- Copy the value after
/folders/.
Example:
https://drive.google.com/drive/folders/1AbCdEfGhIjKlMnOpQrStUvWxYz
Folder ID:
1AbCdEfGhIjKlMnOpQrStUvWxYz
Add multiple folders
In VectorAmp, paste one folder URL or folder ID per line.
Example:
https://drive.google.com/drive/folders/1AbCdEfGhIjKlMnOpQrStUvWxYz
1MnOpQrStUvWxYzAbCdEfGhIjKl
Shared drives
For folders inside a Shared Drive:
- Open Google Drive.
- Open the Shared Drive.
- Right-click the folder.
- Click Share.
- Add the VectorAmp service account as Viewer.
- Copy the folder URL and paste it into VectorAmp.
If sharing is disabled, ask your Google Workspace administrator to allow external sharing for that Shared Drive or folder.
Troubleshooting
VectorAmp says it cannot access the folder
Check that:
- The folder was shared with
gdrive-ingestion@vectoramp-customer-ingestion.iam.gserviceaccount.com. - The role is Viewer or higher.
- You pasted a folder URL or folder ID, not a file URL.
- Your Google Workspace policy allows sharing with external service accounts.
I do not see a Share option
You may not have permission to share that folder. Ask the folder owner or your Google Workspace administrator to grant access.
Fallback: use your own service account JSON
Use this only if your Google Workspace policy blocks sharing Drive folders with VectorAmp's service account.
Create a service account
- Open the Google Cloud Console service accounts page.
- Select the Google Cloud project you want to use for this integration.
- Click Create service account.
- Enter a service account name, for example
vectoramp-drive-ingestion. - Click Create and continue.
- You do not need to grant project roles for Google Drive folder sharing. Click Continue.
- Click Done.
Create a JSON key
- On the Service accounts page, click the service account you created.
- Open the Keys tab.
- Click Add key.
- Click Create new key.
- Select JSON.
- Click Create.
- Google downloads a
.jsonfile to your computer.
Treat this file like a password. Anyone with the file can act as that service account.
Share the Drive folder with your service account
- Open the downloaded JSON file in a text editor.
- Copy the
client_emailvalue. It looks likename@project-id.iam.gserviceaccount.com. - Open Google Drive.
- Right-click the folder you want VectorAmp to ingest.
- Click Share.
- Paste the
client_emailvalue. - Set the role to Viewer.
- Click Share or Send.
Add it in VectorAmp
- In VectorAmp, choose Upload my own service account JSON.
- Drag/select the downloaded
.jsonkey file, or paste the full JSON contents. - Paste the Drive folder URL or folder ID.
- Save the source.