> For the complete documentation index, see [llms.txt](https://integrations.drivetrain.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://integrations.drivetrain.ai/integration-guide/readme/spreadsheets/integrating-with-google-drive.md). Agents can also search and read this documentation through its [MCP server](https://integrations.drivetrain.ai/~gitbook/mcp).

# Integrating with Google Drive

Import files from a shared Google Drive folder into Drivetrain. Drivetrain sets up the connection; covers sharing the folder.

Drivetrain sets up the Google Drive connector for you. You share a folder with Drivetrain, and Drivetrain imports the files in it.

{% hint style="info" %}
For individual Google Sheets, use the self-serve [Google Sheets connector](https://integrations.drivetrain.ai/integration-guide/readme/spreadsheets/integrating-with-google-sheets.md) instead.
{% endhint %}

## Before you start

* Ask your Customer Success Manager or Data Integrations Manager for the **email address to share the folder with**.
* The folder holds the files you want to import and **isn't empty**. Empty folders can't be synced.
* Only files directly in the folder are read. Files in **subfolders are skipped**.

## Step 1: Share the folder

1. In Google Drive, right-click the folder and click **Share**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-7cdc8f3a17051fe1577e3dd86499ca405a9c9dd9%2Fgd-1.avif?alt=media" alt=""><figcaption></figcaption></figure>

2. Enter the email address Drivetrain gave you, select **Viewer**, and click **Send**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-73a9328c5d5138fa52093337f4318d021cb1c814%2Fgd-2.avif?alt=media" alt=""><figcaption></figcaption></figure>

## Step 2: Send the folder URL

Open the folder, copy the URL from your browser's address bar, and send it to your Customer Success Manager or Data Integrations Manager. They finish the setup.

## Syncing

Each sync re-reads all the files in the folder in full. To stop syncing, remove the Drivetrain email from the folder's sharing settings and tell your Drivetrain contact.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://integrations.drivetrain.ai/integration-guide/readme/spreadsheets/integrating-with-google-drive.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
