ChatGPT is a revolutionary tool that can greatly enhance your text generation, content summarization, and grammar correction capabilities.
While you may be familiar with using prompts on chat.openai.com to interact with ChatGPT, did you know that you can also seamlessly integrate this within a Google Doc? In this post, we will explore how to leverage the power of ChatGPT within Google Docs to optimize your workflow and increase productivity.
Currently, OpenAI does not provide an official ChatGPT extension for Google Docs. Nevertheless, you can still harness the potential of GPT technology in Google Docs by using third-party applications that interface with OpenAI’s GPT API.
One such extension is “GPT for Sheets and Docs”. Setting up this extension to function with your Google Docs is not too technical and can be accomplished easily.
To get started, you will need the following:
- An OpenAI API key
- The “GPT for Sheets and Docs” Chrome extension
1. Obtain an OpenAI API Key
First, you will need an OpenAI API key. If you don’t have one already, here’s how to get it:
- Visit https://platform.openai.com/account/api-keys and click on “Sign up.”
- After logging in, click on “API keys.”
- Click on “+ Create a new secret key,” provide a name, and click “Create secret key.”
- You will receive a secret key. Click “Copy” and paste it somewhere for future use.
Note: It is crucial that you keep a safe copy of your API key since it is irretrievable if misplaced. Also, avoid sharing your API keys with external parties, as this could limit your access to OpenAI’s GPT API if exploited by harmful third parties.
2. Install GPT for Sheets and Docs Extension
- Open a blank Google Docs in Google Chrome.
- On the top navigation, go to Extensions > Add-ons > Get Add-ons.
- The “Google Workspace Marketplace” page should appear. Enter “GPT for Sheets and Docs” in the search bar at the top and press Enter to search.
- Click on the extension as seen in the screenshot below, then click either “Install” or “Individual Install” to install the extension.
- Follow the on-screen instructions to complete the entire installation process.
3. Set up GPT for Sheets and Docs
Once you have installed “GPT for Sheets and Docs,” let’s go through the setup process and learn how to use it.
- Go to Extensions > GPT for Sheets and Docs > Set API Key.
- Enter your OpenAI API Key, then click “Save API key.”
- Go to Extensions > GPT for Sheets and Docs > Launch.
Now you can use GPT in Google Docs with ease.
Note: You only need to set it up once, and there’s no need to repeat the setup for every document.
4. How to Use GPT for Sheets and Docs
Now that everything is set up, let’s see how to use the “GPT for Sheets and Docs” extension in your Google Docs.
I have a sample text with grammar and English errors that I found online and pasted into a Google Docs.
To use GPT to correct grammar and spelling mistakes, follow these steps:
- Highlight the text.
- Under “Selection action:“, choose “Fix grammar and spelling” and click Submit.
That’s it! A corrected version of the text will appear below, as shown in the screenshot below.
This is just the tip of the iceberg of what this Chrome extension is capable of. It can also create various types of text, such as taglines, advertisements, product details, email content, outlines, blog posts, and speeches.
Additionally, it can work with text by extracting or cleaning data, altering the style or tone, adjusting the length, and translating.