| What you'll set up | Sync a Google Drive folder as a knowledge source for your agent |
| Prerequisites | A Google Cloud project with OAuth 2.0 credentials configured |
| Time required | Approximately 10 minutes |
ℹ Note: Example format: https://drive.google.com/drive/u/0/folders/<FOLDER_ID>
| Action | Description |
|---|---|
| Sync (↻) | Immediately re-indexes the folder, reflecting any recent changes without waiting for the 30-minute automatic sync cycle. |
| Delete (🗑) | Removes the folder connection. You will be prompted to choose how to handle existing documents. |
ℹ Note: When deleting a connection, choose one of the following options: Keep all uploaded documents in the corpus — the files remain in the corpus but will no longer sync with Google Drive. Delete all uploaded documents from the corpus along with the connection — all indexed files from this folder are permanently removed.
| Field | Value |
|---|---|
| Authorised JavaScript origins | {server-url} |
| Authorised redirect URIs | {server-url}/api/v2/mcp-sso/google/callback |
ℹ Note: To find server url, navigate to API Keys in the admin panel on Ejento
ℹ Note: After saving, copy the Client ID and Client Secret — you will need them in Step B5.
| Scope | Purpose |
|---|---|
https://www.googleapis.com/auth/drive.readonly | Grants read-only access to all files and folder metadata in Google Drive |
ℹ Note: Once all users are onboarded and the app is ready for production, click Publish app on the Audience page to remove the testing restrictions and user cap.