# Integrating with Google Drive

[Prerequisites](#prerequisites)

[Google Drive Setup](#google-drive-setup)\
&#x20;  [Step 1: Share Google Drive Folder](#step-1-share-google-drive-folder)

## Prerequisites

To connect Google Drive to Drivetrain, you need:

1. A Google Drive folder containing files with supported file types and encodings.
2. The URL of your Google Drive folder that you want to sync.

## Google Drive Setup

### Step 1: Share Google Drive Folder

Log in to your Google Drive account and navigate to the folder you want to sync the files.

{% hint style="info" %}
**NOTE**: Make sure that the folder is not empty. We can't sync empty folders.
{% endhint %}

2. Click the folder you want to sync and click Share from the drop-down menu.

<figure><img src="/files/zFjPv7DrK8zsaqveKt1i" alt=""><figcaption></figcaption></figure>

3. In the **Share with people** and **groups** pop-up window, enter the email address provided by your Customer Success Manager or Data Integrations Manager.
4. Select Viewer permissions and then click Send.

<figure><img src="/files/bROhFVgAMy7ijnGCKfJs" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
That’s it share the URL of the folder with your Customer Success Manager or Data Integrations Manager. Please note the URL specifies the folder path in your Google Drive containing the files which you want to import in Drivetrain. We examine any files under the specified folder, except the nested subfolders, for files we can sync
{% endhint %}


---

# 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://integrations.drivetrain.ai/integration-guide/integrate-with-drivetrain/spreadsheets/integrating-with-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.
