> For the complete documentation index, see [llms.txt](https://docs.eesel.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eesel.ai/legacy/integrations/google-drive.md).

# Google Drive

Google Drive can be integrated to quickly upload documents to your AI bot, and use them to help generate responses. Train your bots on your Google Docs, Google Slides, PDFs and more\
You can control exactly which pages the bot has access to and modify this at any time.

There are two ways to integrate Google Drive:

* [Using our browser extension](#adding-google-drive-files-with-the-browser-extension)
* [Using our direct integration](#adding-google-drive-files-with-the-integration)

## Adding Google Drive files with the browser extension

1. Navigate to your dashboard for the bot you'd like to train.
2. Click Integrations (+) and search for Google Drive.
3. Click setup integration.
4. Click "Install browser extension" and add it to your Chrome.
5. Open the browser extension and open your Google Drive files.
6. Click "Add sources" in the extension, and add tab or add all tabs.

**Note**: It reads text, not images, so image files or other file types won't be usable by the bot by default.

## Adding Google Drive files with the integration

1. Navigate to your dashboard for the bot you'd like to train.
2. Click integrations and search for Google Drive.
3. Click setup integration > connect Google Drive tab.
4. Click Connect Google Drive and sign in to your Google account, and allow access.
5. Google Drive will be added to your integration tab
6. Click on the integration tab, then click "Add files"
7. You can then either select specific files to add, *OR* you can select folder to add.
   1. Specific files will be uploaded directly.
   2. If you want to add folders, then you must follow the instructions to share the folder with eesel
      1. Grant your eesel bot read access to the folder by sharing it with:\\

         ```
         eesel-ai@eesel-ai.iam.gserviceaccount.com
         ```
      2. Click the button to select the folder and start syncing its contents.

\
\\


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
