Connect Google Drive to Grok with a connector

Day 4, 25 minutes · beginner

Goal of this lessonConnect Google Drive to Grok with a connector, let Grok find and summarise a file there, and write your connector rules into your Grok kit.

Why it matters

This lesson teaches beginners how to connect Google Drive to Grok with a connector, so the Grok chat assistant can find and read a file in your own cloud storage without you uploading it first. It is for office workers and small business owners whose documents already live in Google Drive, OneDrive, Gmail or Outlook.

Uploading works for one file. It stops working when you do not know which file you need, or when the answer is spread over a folder. A connector is a link between Grok and one of your apps: you sign in once, and from then on Grok can search that app when your question needs it.

That is also the moment to slow down. A connector gives Grok the same reach as the account you sign in with, and sometimes the right to change things. So today you connect one account on purpose, ask Grok to look and not touch, and write down your own rules. Those rules are part 4 of your Grok kit.

What is a Grok connector?

A connector lets Grok reach an outside app, such as your files, mail or calendar, from inside a chat. The vendor's Connectors page says connectors are available to all Grok users and lists the built-in ones:

Connector What Grok can reach
Google Drive Files, Docs, Sheets and Slides
Gmail and Google Calendar Mail and calendar events (two separate connectors)
OneDrive Personal Microsoft file storage
Outlook Mail and Calendar Mail and calendar events
Microsoft Teams Messages, channels and chats
SharePoint Sites and document libraries
Salesforce Customer records

Each one uses OAuth, a standard way to give one app access to another: you sign in at the other company, such as Google or Microsoft, and it shows you what Grok asks for. There is also a catalogue with more apps, such as Notion and Box.

What can Grok see once you connect?

Grok can reach what the account you signed in with can reach, within the rights on the consent screen. For Google Drive the docs list three rights: view file details, read file contents, and (optional) create and change files. The Google Drive connector page says the vendor does not train its models on your Drive data, that files are read at the moment you ask and not stored on its servers, and that disconnecting ends the access at once.

That is what the vendor promises. Your own duties stay: if the Drive holds customer or staff data, connecting it is a decision for your employer, not for you alone. The Dutch privacy authority explains why in its warning about AI chatbots.

The steps

  1. Choose the account, then ask. A personal Google account with your own files is yours to connect. A work account is not: ask whoever decides about IT whether Grok may be connected, and to which folders. If the answer is no or slow, do this lesson with a personal or test account.

  2. Put one harmless file in place. Pick or make a document with no personal data, so you know what Grok should find.

  3. Connect and read the consent screen. Read what is asked. View and read are enough for today. The docs call the right to create and change files optional, so leave it off if Google offers you that choice. Either way, your request will tell Grok to change nothing. The steps for Grok are below.

  4. Ask Grok to search, and to wait. Ask for a list of matching files first: title, folder and date. Say in the same message that nothing may be created, changed, moved or deleted.

  5. Pick the file and ask your question. Name the file from the list. Ask for what you need, and add "use only that file".

  6. Check the answer against the file. The same habit as in lesson 2: open the file and check the facts that matter.

  7. Decide: keep or disconnect. Keep the connector if you will use it weekly. Otherwise disconnect, and connect again when you need it.

  8. Write your connector rules. Four lines in your Grok kit as Part 4: Connector rules. Which account is connected, what Grok may do there, what it may never do, and who agreed.

Noor's example

Tolhuis Koffie, the made-up coffee roaster, keeps supplier documents in a shared Google Drive. Noor asks the owner first. The answer: fine for the folder with supplier documents, not for the staff folder. The Drive connector reaches everything her account can open, so Noor does not use her main account. She uses the office account that only has the supplier folder.

She connects it, reads the consent screen and asks:

Search my Google Drive for the most recent price list from our packaging supplier.
Show me the title, the folder and the date of each file you find, and wait.
Do not create, change, move or delete anything in my Drive.

Grok lists three files. The newest is from October. Noor asks it to read that one and the one before, and to say what changed. The answer: two bag sizes went up, one went down, and the minimum order changed. She opens both files and checks the two increases. Both are right.

Her rules in the kit: "Connected: the office account, supplier folder only. Grok may search and read. Grok may not create, change or delete. Agreed with the owner on 1 December."

Common mistakes

  • Connecting your main work account because it is quicker. The connector reaches what that account reaches.
  • Clicking Allow without reading. The consent screen is the one place where you see exactly what you hand over.
  • Asking a broad question first. "What is in my Drive?" gives noise. Ask for one thing and a list to choose from.
  • Forgetting the connection exists. Review the list of connectors every few months and disconnect what you do not use.

Today's actions

Ticks are not saved without an account

Do it in Grok

Grok

  1. Sign in on grok.com and go to grok.com/connectors.
  2. Click New Connector and select Google Drive.
  3. Sign in with the Google account whose files Grok may read. Use a personal or test account if you are not sure about your work account.
  4. Read the consent screen from Google. It lists what Grok may view, read and, optionally, create or change. Click Allow only if you agree.
  5. Start a new chat, paste the request below, fill in the brackets, and send it.
    Search my Google Drive for [what you are looking for, for example the most recent price list from our packaging supplier].
    Show me the title, the folder and the date of each file you find, and wait.
    Do not create, change, move or delete anything in my Drive.
  6. Pick the right file from the list and ask, for example Read the second file and summarise what changed in the prices. Use only that file.
  7. Go back to grok.com/connectors, find Google Drive in your connected list and click Disconnect if you do not want to keep the connection.

Note: The docs say Grok can only reach files the signed-in Google account can open, that Google Drive data is not used for model training and that files are not stored on the vendor's servers. The Outlook connectors ask for a Microsoft work or school account, and an administrator may have to approve them. The vendor's pages do not say whether connectors differ in the EU.

The docs say connectors are available to all Grok users. On Grok Business and Enterprise a team admin must switch a connector on first.

Checked on 1 December 2026 · Source: Grok docs: Google Drive connector (opens in a new tab)

Create a free account to save your progress. Sign in or sign up