Command · Knowledge & Docs
Google Drive
Link Google Drive folders to project folders for a one-time import or recurring sync.
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.
Before you start
- A Google Cloud project with the Google Drive API enabled
- Permission to create OAuth credentials and configure the consent screen
What you need to make the connection
| Field | Where to get it |
|---|---|
| Client ID | Google Cloud Console → APIs & Services → Credentials → OAuth client ID. |
| Client secret | Shown alongside the client ID when it is created. |
| Authorized redirect URI | Copy 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.
Setup steps
- 01
Enable the Google Drive API in your Google Cloud project.
- 02
Configure the OAuth consent screen and add the Drive scopes.
- 03
Create a Web application OAuth client and paste in raia's redirect URI.
- 04
In raia Command, open Settings → Connectors, find the connector, and click Connect.
- 05
Enter the client ID and secret, then complete the Google sign-in.
- 06
Link Drive folders to project folders and run the import.
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.