# Google Drive

You can connect your Google Drive directly to your eesel agent to index your files.&#x20;

Looking to index just a few? You can use our [browser extension](https://chromewebstore.google.com/detail/eesel-ai-chatgpt-sidebar/ejhkkbilnpifailgngpkgmiofhioacjd) to just add specific files by opening the Google Doc, clicking 'add sources' in the extension, and 'add current tab'. While you won't be able to sync entire folders this way, it's a great option that means you don't have to connect your Google Drive account.

Looking for the full integration? Here's how:

## Connecting Google Drive

1. Go to **Integrations > Google Drive**
2. Click **Connect with Google**
3. Sign in to your Google account and grant eesel AI read access
4. Select the files and folders you want 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

## 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.)       |

## Selecting content

After connecting, you can choose which files and folders to sync using the Google Drive picker:

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

## Sync frequency and updates

* Content is periodically re-synced to pick up changes
* You can manually trigger a re-sync from the integration settings
* New files added to synced folders are automatically picked up

## 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
* Try manually triggering a re-sync

**Connection expired?**

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.eesel.ai/integrations/google-drive.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
