WebsitePlatform Login

Google Drive

Configure Google Drive integration

In meinGPT (UI)

For most teams, setup is done directly in meinGPT without editing local config files.

  1. Open admin settings in meinGPT
  2. Go to Data Pools / Data Sources
  3. Click Add Source and choose this source type
  4. Configure credentials and scope in the UI
  5. Save and trigger the first sync

If you do not run your own DataVault runtime, this is usually all you need.

On-Prem Runtime Configuration (Advanced)

data_pools:
  - id: google-drive
    type: drive
    refresh_token: $GOOGLE_REFRESH_TOKEN
    scope: "drive.readonly"
    root_folder_id: null
    team_drive: null

Configuration Options

FieldTypeDefaultRequiredDescription
idstring-Unique identifier for the data pool
typestring-Must be "drive"
refresh_tokenstring-OAuth refresh token
scopestring"drive.readonly"Access scope
root_folder_idstringnullOptional specific folder ID
team_drivestringnullShared drive ID
client_idstringnullOptional custom client ID
client_secretstringnullOptional custom client secret
base_pathstring"/"Optional folder path

Synchronization

  • Vault uses the OAuth refresh token to access Google Drive content.
  • Sync runs fetch documents from the selected root scope (root_folder_id / base_path).
  • Later runs process only changed content.

Setup

  1. Create Google Cloud project: Google Cloud Console
  2. Enable Drive API: Enable Google Drive API
  3. Create OAuth credentials: Download client credentials
  4. Get refresh token: Complete OAuth2 flow
  5. Add to environment: GOOGLE_REFRESH_TOKEN

Google Drive API Documentation

On-prem only: this source page is relevant when you operate your own DataVault runtime and configure data_pools yourself.

On this page