How to connect ChatGPT to Google Docs

You can connect ChatGPT to Google Docs with the GPT for Docs extension:

Step 1: Install the GPT for Sheets and Docs add-on

Install from the marketplace: https://workspace.google.com/marketplace/app/gpt_for_sheets_and_docs/677318054654

Step 2: Get your OpenAI API key

You can get an API key from the OpenAI dashboard: https://platform.openai.com/account/api-keys

If you have never created an API key, read our full guide.

Step 3: Setup your API key in GPT for Sheets and Docs

In a google document:

  1. Go to Extensions > GPT for Sheets and Docs > Set up API key
  2. Enter your API key and check it
  3. Click save

If you encounter an issue setting up your API key, please read our full api key setup guide here: https://gptforwork.com/help/gpt-for-docs/setup/set-up-openai-api-key

Step 4: Enable ChatGPT in Google Docs

From your document:

Go to Extensions > GPT for Sheets and Docs > Launch sidebar

ChatGPT is now connected to Google Docs, and you can ask it anything via the sidebar.

Get started with GPT for Docs guide