WebsitePlatform Login

Google Drive

Configure Google Drive integration

In meinGPT (UI)

Für die meisten Teams erfolgt die Einrichtung direkt in meinGPT, ohne lokale Config-Dateien.

  1. Öffne die Admin-Einstellungen in meinGPT
  2. Gehe zu Data Pools / Data Sources
  3. Klicke Add Source und wähle diesen Source-Typ
  4. Hinterlege Zugangsdaten und Scope im UI
  5. Speichere und starte den ersten Sync

Wenn Du keinen eigenen DataVault betreibst, ist das in der Regel ausreichend.

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.

Auf dieser Seite