# Google Drive

This is phase one of our Google Drive integration. With this integration, Glue can access Google Drive links you share in chats just like file attachments. This allows Glue AI to analyze and summarize linked GDrive documents without having to change link permissions.

We have more planned for this integration, so stay tuned!

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

## Setting up the Google Drive integration

<details>

<summary>Step 1: Add the Google Drive app to your workspace</summary>

See [instructions for installing an app in your workspace.](/integrations/integrations-overview.md#steps-to-set-up-one-of-the-pre-built-integrations-in-your-glue-workspace)

</details>

<details>

<summary>Step 2: Authorize Google Drive</summary>

Each user will need to authorize access to their GDrive account once. You will be prompted to authorize the first time you paste a GDrive link into a message after the app has been added to your workspace.

* Paste a Google Drive link into any message in Glue.
* A prompt will appear asking you to authorize Glue to access Google Drive. Click **Authorize**.

![](/files/auHnUlFQ36WMPFFTiT1h)

* You will then be asked to sign in to Google to give Glue access. Choose which Google account you want to connect with Glue, and then click **Continue**.
* You will then see a screen that says what access Glue will have to your GDrive. Click **Allow.**

![](/files/Rm4gyB4jywSExj78wc5Z)

* You will see a confirmation message once GDrive is successfully connected.
* Once authorized, Glue AI can analyze and summarize linked documents.

</details>

{% hint style="info" %}
You do not need to change link sharing permissions in order for Glue AI to access a shared GDrive link, but if you're sharing it with others on your team, make sure you update the link settings!
{% endhint %}

{% hint style="warning" %}
**Important:** Do not remove the link preview when sharing a Google Drive link. The preview is what allows Glue AI to reference the document as an attachment.
{% endhint %}

## Current limitations of the integration

* You **cannot** **search for Google Drive files** directly within Glue.
* Glue AI **cannot** **access your entire Google Drive**—only the specific links shared in threads or groups you have access to.
* Glue AI **cannot analyze a Google Drive file larger than 50MB** in size. It will return an error message if the file is larger than the size limit.

## Troubleshooting

* If our RAG is taking a while to index the document, you might see a message from Glue AI saying it's taking a while to analyze the attachment and to try again in a few minutes. Send another message in a few minutes and ask Glue AI to try again! You do not need to reattach the document.

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


---

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