IntegrationsBuilt-in Providers

Google Drive

Connect Google Drive to your Appstrate agents.

Overview

Google Drive is Google's cloud storage service, allowing your agents to manage, read, and organize files.

Authentication Mode

PropertyValue
Typeoauth2
HeaderAuthorization: Bearer <token>
Default scopesdrive.file

Available Scopes

ScopeDescription
drive.filePer-file access (recommended)
drive.readonlyRead-only access
driveFull access
drive.metadata.readonlyRead metadata only
drive.appdataApp data folder
drive.photos.readonlyRead photos/videos

Authorized URIs

The agent can access the following endpoints through the sidecar proxy:

  • https://www.googleapis.com/drive/*
  • https://www.googleapis.com/upload/drive/*

Connect Google Drive

  1. Create a Google Cloud project and enable the Google Drive API
  2. Configure the OAuth consent screen
  3. Create OAuth 2.0 credentials (Client ID and Client Secret)
  4. Add the Appstrate redirect URI as an authorized redirect URI
  5. Enter the Client ID and Client Secret in the Google Drive provider settings on Appstrate

Usage in an Agent

Once connected, the agent can call Google Drive APIs through the sidecar proxy. Example prompt:

Search my Google Drive for all PDF files modified this week in the "Accounting" folder.
Download them and summarize the content of each one.

On this page