# Google Drive

> Connect Google Drive to train your agent on your Docs, Sheets, PDFs, and other files.

## Connecting Google Drive

1. Go to **Integrations > Google Drive**
2. Click **Connect Google Drive**
3. Sign in to your Google account and grant access via the popup
4. Once connected, use the file browser to select which files to sync

### Prerequisites

* A Google account with access to the files you want to sync
* Files must be shared with or owned by the connected account

## Selecting files to sync

After connecting, click **+ Add** to open the Google Drive file browser. You can:

* Select individual files
* Select entire folders (all supported files inside are synced)
* Mix and match across your Drive

Only the files you explicitly select are indexed — eesel does not crawl your entire Drive automatically.

## What gets synced

| Content type      | Description                                 |
| ----------------- | ------------------------------------------- |
| **Google Docs**   | Full text content from your documents       |
| **Google Sheets** | Spreadsheet data including all sheets       |
| **PDFs**          | PDF files stored in Drive                   |
| **Folders**       | All supported files within selected folders |
| **Other Files**   | Text-based files (txt, md, csv, etc.)       |

## Existing connections (legacy)

If you connected Google Drive before March 2026, you may see a warning banner in the integration settings indicating this.

**Legacy connections are still active** — your previously synced files continue to work. However, you will not be able to add new files until you reconnect. To upgrade, disconnect the existing connection and reconnect using the **Connect Google Drive** button.

## Tips

**Start with your most-referenced docs.** Focus on the documents your team looks up most often — policies, procedures, product guides.

**Use folders for easy management.** Create a dedicated folder in Drive (e.g., "AI Knowledge Base") and sync the whole folder. Adding new docs to it automatically trains your agent.

**Avoid syncing irrelevant content.** Marketing decks, personal notes, and old drafts can confuse your agent. Be selective.

## Troubleshooting

**Files not appearing after sync?**

* Check that the files are shared with the connected Google account
* Ensure files are in a supported format (see the table above)
* Files over 50 MB are not supported and will fail

**Can't add new files?**

* If you see a legacy connection warning, disconnect and reconnect to upgrade to the new integration

**Connection expired?**

* Google OAuth tokens can expire. Disconnect and reconnect to refresh.
