Use ChatGPT Inside Google Docs
In this article, I’ll explain how you can integrate ChatGPT inside Google docs and utilize the capabilities of any text based OpenAI model of your choice.
If you are not aware what Google docs is — it is an offering by Google, where in you can create and collaborate documents online.
Setting Up Google Docs
You can go to https://docs.google.com/, login with your Gmail id and you are all set.
If you have already created any document, you can open that otherwise you can go ahead and open a new document. New document will look something like this:
In the above window, click on Extensions button and select Apps Script:
On click of Apps Script will open up an editor wherein we will write our code.
Getting OpenAI API Key
As we are going to integrate ChatGPT, which is an offering from OpenAI, we need to grab OpenAI key in order to get started. Let’s do that.
To get the OpenAI key, you need to go to https://openai.com/, login and then grab the keys using highlighted way: