Skip to content
← Connectors Directory

Command · Knowledge & Docs

Google Drive

Link Google Drive folders to project folders for a one-time import or recurring sync.

ImportAuth: Google OAuth client

How it works

Google Drive uses an OAuth client you create in Google Cloud. After you authorize, you link Drive folders to project folders for a one-time import or a recurring sync.

01

Before you start

  • A Google Cloud project with the Google Drive API enabled
  • Permission to create OAuth credentials and configure the consent screen
02

What you need to make the connection

FieldWhere to get it
Client IDGoogle Cloud Console → APIs & Services → Credentials → OAuth client ID.
Client secretShown alongside the client ID when it is created.
Authorized redirect URICopy the exact URI shown in the raia Command connector form into the Google client.

Credentials are stored encrypted in raia Command and are never shown again after saving. Rotate them at the provider if they are exposed.

03

Setup steps

  1. 01

    Enable the Google Drive API in your Google Cloud project.

  2. 02

    Configure the OAuth consent screen and add the Drive scopes.

  3. 03

    Create a Web application OAuth client and paste in raia's redirect URI.

  4. 04

    In raia Command, open Settings → Connectors, find the connector, and click Connect.

  5. 05

    Enter the client ID and secret, then complete the Google sign-in.

  6. 06

    Link Drive folders to project folders and run the import.

04

Good to know

  • The redirect URI must match character for character, including https and any trailing path.
  • A consent screen left in Testing mode expires refresh tokens after 7 days — publish it for production.
05

Next steps

Other Knowledge & Docs connectors