# OnlyOffice

**OnlyOffice** integration allows users to edit documents (Word, Excel, PowerPoint) directly in the browser within Chamilo, without downloading them.

## What OnlyOffice Provides

* **Document editing** — Edit .docx, .xlsx, .pptx files in the browser
* **Format compatibility** — Full compatibility with Microsoft Office formats
* **No desktop software needed** — Everything runs in the browser

> Real-time collaborative editing depends on the OnlyOffice Document Server itself; Chamilo's plugin opens and saves documents through the server but does not add or restrict that capability.

## Configuration

1. Install **OnlyOffice Document Server** on your server (or use the OnlyOffice cloud service)
2. In Chamilo platform settings, configure:
   * **OnlyOffice Document Server URL** — The address of your OnlyOffice server
   * **Secret key** — For secure communication between Chamilo and OnlyOffice
3. Enable the integration

## How It Works

Once configured, users see an **Edit with OnlyOffice** option when viewing supported document types in the Documents tool. Clicking it opens the document in the OnlyOffice editor within the Chamilo interface.

Changes are saved back to Chamilo's document storage automatically.

## Tips

* **Separate server recommended** — Like BigBlueButton, OnlyOffice Document Server should run on its own server for best performance
* **HTTPS required** — Both Chamilo and OnlyOffice should be served over HTTPS for the integration to work
* **Check formats** — OnlyOffice works best with Office formats (.docx, .xlsx, .pptx). Other formats may have limited editing support.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.chamilo.org/administration-guide/admin-guide/integrations/onlyoffice.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
