GPT for Google Sheets, Docs AI, Slides, Forms
AI formulas for Google Sheets

How to Use Grok (xAI) with Google Workspace

There is no official Grok integration for Google Workspace. Here is what actually works today: running Grok on your spreadsheet data with a =GROK() formula in Google Sheets, on your own xAI API key — plus what to use for Docs and Gmail instead.

Use AI formulas directly inside Google Sheets Install GPT for Sheets to run Claude, Grok, ChatGPT, Gemini, and 100+ models across spreadsheet rows without copy/paste.
Install GPT for Sheets Compare paid plans

Short answer: xAI ships no Grok connector for Google Workspace. If you searched for one, what you actually can do today is run Grok inside Google Sheets with the GPT for Sheets add-on: a =GROK() formula that calls xAI on your own API key, row by row, at bulk speed.

What works today

Where Grok support What to use
Google Sheets =GROK() formula via GPT for Sheets (your xAI key) =GROK() reference
Google Docs ❌ no Grok; ChatGPT/Claude/Gemini available GPT for Docs
Gmail ❌ no Grok; AI drafting available AI Email Assistant
Google Slides ❌ no Grok; AI deck generation available Slides by DocGPT.ai

Set up Grok in Google Sheets (3 steps)

  1. Install GPT for Sheets from the Google Workspace Marketplace.
  2. Open Extensions → GPT for Sheets → Set Up API Key, choose Grok (xAI), paste your key and pick a model (grok-4-latest for quality, grok-3-mini for cheap bulk runs). Getting a key takes ~2 minutes: step-by-step guide.
  3. In any cell:
=GROK("In 15 words, what does this company do?", A2)

Drag down — every row gets its own Grok answer. When the run finishes, use Replace all GPT formulas with results to freeze the output.

Bring-your-own-key functions (=GROK(), =DEEPSEEK()) require the User Pro or Business plan — see pricing. API usage is billed separately by xAI on your key.

What people use Grok in Sheets for

  • Lead research and enrichment — company summaries, industry tags, ICP fit scores: Grok lead-enrichment formulas
  • Bulk classification — tickets, reviews, keywords into fixed categories
  • Content drafting — outreach openers, replies, short descriptions across hundreds of rows
  • Data cleanup — extract fields, normalize names and categories without regex

Honest limits

  • =GROK() covers Google Sheets only. No add-on currently puts Grok itself into Docs, Gmail or Slides — those apps get ChatGPT, Claude and Gemini through the other DocGPT.ai add-ons.
  • Grok answers come from the model, not from a live crawl of your Workspace — it sees exactly the cell data you pass it.
  • Large runs cost money on your xAI key; test on 10 rows first and prefer the mini models for simple transformations.

FAQ

Does Grok integrate with Google Workspace?

No — xAI offers no native Workspace integration. The practical route is the =GROK() formula in Google Sheets via GPT for Sheets, on your own xAI API key.

How do I connect Grok to Google Sheets?

Install GPT for Sheets, add your xAI key under Set Up API Key, pick a model, then use =GROK("prompt", A2) and drag down. Requires the User Pro or Business plan.

Can Grok read or edit Google Docs and Gmail?

Not natively. For AI inside Docs and Gmail, use GPT for Docs and AI Email Assistant (ChatGPT, Claude, Gemini). In Sheets, =GROK() gives you Grok itself.

Install GPT for Sheets