Language-specific examples

With ONLYOFFICE Docs, any of collaborative solutions can be enhanced with document editing and co-editing. In this section, you will learn how to integrate ONLYOFFICE Docs into your own website.

Each ONLYOFFICE Docs instance includes online editors for text documents, spreadsheets, and presentations, plus a test example.

Test example is simple document management system that can be built into your application for testing. The test example included by default is written on Node.js. It is disabled by default. To enable it, follow the instructions on your start screen.

To start integrating document editors into your own website you need to do the following:

  1. Download Document Server installation and set it up on your local server:

  2. Select the programming language and download the code for the sample of online editors integration into your website:

    or find source code: integration example.

  3. Edit the configuration files in the sample changing the default path for the one to the editors installed at step 1 and other advanced parameters available for editor configuration.
  4. In case the example and Document Server are installed on different computers, make sure that your server with the example installed has access to the Document Server with the address which you specify instead of documentserver in the configuration files. And you must also make sure that the Document Server in its turn has access to the server with the example installed with the address which you specify instead of example.com in the configuration files.
The integration examples are used to demonstrate document editors functions and the ways to connect Document Server to your own application. DO NOT USE these examples on your own server without PROPER CODE MODIFICATIONS!

The result should look like the demo preview below.

Demo Document editor Demo Spreadsheet editor Demo Presentation editor

If you have any further questions, please contact us at integration@onlyoffice.com.