How to Enable ChatGPT in ONLYOFFICE Docs on Linux

The rise of AI chatbots and artificial neural networks, which has been taking place over the last few years, definitely makes our life easier in different ways. For example, you can use AI algorithms to create unique images from textual descriptions and generate human-like texts in various languages within minutes.

ChatGPT is one of the most powerful and popular AI chatbots that are familiar to everyone nowadays. It finds a wide utility in multiple spheres, and many software developers seek ways to integrate this AI system into their programs to create a unique user experience.

In this article, you will learn how to enable the ChatGPT features within the interface of ONLYOFFICE Docs, an open-source office suite, and use the power of AI for office tasks on Linux.

What is ChatGPT?

In case you have never heard of ChatGPT, it’s a chatbot system based on an AI language model called GPT-3, developed by OpenAI. In a nutshell, it is a model with more than 175 million parameters, which has been trained with large amounts of text information to perform language-related tasks, from translation to text generation.

The AI algorithm of ChatGPT has been trained to have conversations with anyone like a human being. The chatbot is able to understand questions and respond to them in a coherent way. The most surprising thing about ChatGPT is that it gives very accurate and complete answers, making it very difficult to distinguish that the text has been generated by AI.

Of course, ChatGPT is a powerful tool that can generate complete and informed answers. However, its accuracy sometimes leaves much to be desired, especially when it comes to ethical concepts and morality.


ONLYOFFICE Docs is an open-source office package that can be deployed on a Linux server to create a collaborative environment with a large number of software tools, including Nextcloud, Plone, Moodle, Confluence, Redmine, WordPress, Seafile, Alfresco, HumHub, etc. Integration with ONLYOFFICE Docs is possible through special integration apps, also known as connectors.

When installed, the ONLYOFFICE office suite allows you to edit and collaborate on Word documents, Excel spreadsheets, and PowerPoint presentations in real time. Additionally, it can be used to work with PDF files and create fillable forms.

For offline use, there is a free desktop application for Windows, Linux, and macOS, which offers the same editing and co-editing features.

One of the best things about ONLYOFFICE Docs is that it comes with plugins, e.g. software components that add new features.

The developers of the suite have recently released a plugin for ChatGPT. By enabling this plugin, you can access the functionality of ChatGPT within the suite interface. Let’s find out how.

How to Get ONLYOFFICE Docs Installed on Linux

First of all, you need to install ONLYOFFICE Docs on your Linux machine. The installation process is not difficult and doesn’t require a lot of skills.

Please find the detailed instructions at.

How to Install ChatGPT Plugin in ONLYOFFICE Docs

If you have a running ONLYOFFICE Docs instance, you can install the ChatGPT plugin through the Plugin manager located on the top toolbar. To do so, open the Plugins tab, click Plugin Manager, find ChatGPT, and click the Install button. The plugin’s icon will appear on the corresponding tab within seconds.

Install ChatGPT Plugin in ONLYOFFICE Docs
Install ChatGPT Plugin in ONLYOFFICE Docs

How to Enable ChatGPT Plugin in ONLYOFFICE Docs

Since the ChatGPT plugin is a background plugin, you will need to activate it upon successful installation. In ONLYOFFICE Docs, you can easily manage all background plugins via the corresponding menu on the Plugins tab. Find ChatGPT and activate the plugin using its slider.

Enable ChatGPT Plugin in ONLYOFFICE Docs
Enable ChatGPT Plugin in ONLYOFFICE Docs

After that, you need to configure the activated plugin to be able to access and use the chatbot. To configure its settings, access the context menu with a right-click of the mouse, select ChatGPT and click Settings. Don’t forget that you can use the plugin’s menu only if it’s activated.

ChatGPT Plugin Settings in-ONLYOFFICE Docs
ChatGPT Plugin Settings in-ONLYOFFICE Docs

To finish the configuration process, you need to enter a valid API key that you can generate in the OpenAi platform after you log into your account.

Just copy one of your API keys and paste it into the corresponding field. Click the Save button. If your API key is valid, you will be able to use the powerful features of ChatGPT. If not, you will see a warning message.


How to Use ChatGPT Plugin in ONLYOFFICE Docs

You can access the chatbot via the context menu which appears when you select some text in your document and right-click with the mouse. There are a lot of useful tools provided by the plugin allowing you to work on text content with ease. Let’s take a quick look at each option from the menu.

ChatGPT Options in ONLYOFFICE Docs
ChatGPT Options in ONLYOFFICE Docs

Following options provided by the ChatGPT plugin in ONLYOFFICE Docs.

  • Fix Spelling & Grammar – This tool comes in handy when you need to proofread your text because it helps you to get rid of spelling and grammar mistakes. You just select the required text and choose this option from the context – the chatbot will do the rest and insert the corrected text into your document.
  • Rewrite Differently – With this option, you can easily avoid plagiarism because ChatGPT can rewrite your text in a different way using synonyms and various structures.
  • Make Longer – The purpose of this feature is to expand your text with new words and sentences. Be careful with this tool as ChatGPT can turn one paragraph into an essay. For example, a short paragraph about looks like a big description.
Text Rewritten by ChatGPT in ONLYOFFICE Docs
Text Rewritten by ChatGPT in ONLYOFFICE Docs
  • Make Shorter – This option allows you to turn a big text into something shorter.
  • Make Simpler – If your text looks too complicated due to the use of jargon and professional terms, ChatGPT can make it more comprehensible and easier to read.
  • Text Analysis – This feature offers two options which are great for SEO-related tasks. With the Summarize option, the chatbot creates a summary based on the selected text. The Keywords tool allows you to extract keywords from text information.
Keywords Generated by ChatGPT in ONLYOFFICE Docs
Keywords Generated by ChatGPT in ONLYOFFICE Docs
  • Word Analysis – With this feature, you can find the meaning of a selected word or sentence. ChatGPT can explain anything and present its answers in a comment or a link leading to an external web page (for example, Wikipedia).
Definition Given by ChatGPT in ONLYOFFICE Docs
Definition Given by ChatGPT in ONLYOFFICE Docs
  • Translate – This tool lets you translate the selected text into different languages with a click. As for now, that chatbot supports English, French, German, Spanish, Chinese, Japanese and some other languages.
List of languages supported by ChatGPT for translation
List of languages supported by ChatGPT for translation
  • Generate Image from Text – ChatGPT can also generate images based on a text description. The more details you provide, the more accurate the output image will be.
  • Chat – Using this option, you can have a conversation with ChatGPT like with a real human being. You can ask questions and just have fun while interacting with AI.
Conversation with ChatGPT in ONLYOFFICE Docs
Conversation with ChatGPT in ONLYOFFICE Docs
  • Custom Request – This option comes with a set of additional parameters that you can configure to make the most of your requests to ChatGPT. First of all, you can choose the desired language model. For example, you can access the capabilities of the most modern model, GPT-4, if your account has a paid subscription.

The other available parameters are:

  • Maximum length is the number of tokens used in the chatbot’s answers;
  • Temperature is what defines the creativity of ChatGPT;
  • Top P is a filter that controls how many different words the chatbot considers;
  • Stop sequences is a parameter that tells ChatGPT when to stop generating tokens.
Custom request parameters in the ChatGPT plugin
Custom request parameters in the ChatGPT plugin

What ChatGPT Can Be Used for in ONLYOFFICE Docs

Here are some common scenarios of how you can use the chatbot when working on your documents in ONLYOFFICE Docs:

  • Generate text fragments on certain topics.
  • Get answers to your questions.
  • Translate texts into different languages.
  • Correct grammar and style mistakes.
  • Rewrite texts to avoid plagiarism.
  • Make your pieces of writing well-structured.
  • Analyse information and statistics.
  • Communicate with the chatbot just for fun.

Have you ever tried ChatGPT? Share your experience with us!

Sergey Zarubin
A former university teacher, Sergey has been passionate about open-source software since 2019. He writes about software for several websites and contributes to the ONLYOFFICE open-source project.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

1 thought on “How to Enable ChatGPT in ONLYOFFICE Docs on Linux”

  1. It does not work. Tested both the latest desktop version and the previous one on Linux and Windows. Both give the same error even though they have not exceeded any quota:


    You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs:”

    The same error is reported by many other users.

    It probably only works with a paid API, but OnlyOffice should declare it…


Got something to say? Join the discussion.

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.