Adding a DMS provider
ONLYOFFICE Desktop Editors allows users to access the documents from the cloud and collaborate on them with their teammates. In this case, an Internet connection is required. Currently, users can connect the application to ONLYOFFICE DocSpace (SaaS or on-premises), Nextcloud, ownCloud, Moodle, Liferay, kDrive, or Seafile, but you can extend this list adding your own DMS.
Follow the steps below to add your own document management system (DMS) to the connection list:
Step 1
Create a folder using the DMS provider as a name (e.g. onlyoffice) in the providers directory. The path to the folder depends on the operating system you use:
- Windows
- macOS
- Linux
%ProgramFiles%\ONLYOFFICE\DesktopEditors\providers\
/Applications/ONLYOFFICE.app/Contents/Resources/providers/
/opt/onlyoffice/desktopeditors/providers/
Step 2
Create a config.json file to specify the integration parameters.
Parameters
Example
{
"provider": "onlyoffice",
"name": "ONLYOFFICE",
"check": {
"url": "status",
"headers": {
"X-CUSTOM-HEADER": true
}
},
"entryPage": "https://url-to-connect-provider.com",
"extraLogout": "https://url-for-logout.com",
"editorPage": "/apps/onlyoffice/",
"startPage": "/",
"icons": {
"themeLight": {
"connectionsList": "./assets/listicon.svg",
"buttonLogo": "./assets/buttonlogo.svg"
},
"themeDark": {
"connectionsList": "./assets/listicon_dark.svg",
"buttonLogo": "./assets/buttonlogo_dark.svg"
}
}
}
Step 3
Create icons for the application page and put to the folder specified in the config.json file:
-
The light and dark icons for the connection list. The required icon size is 36x36:


-
The light and dark icons for the provider button on the connection page when the Connected clouds list is empty. The required icon size is 148x38. These icons are used in versions below 9.0:


Supported image formats are .png, .jpeg, .svg. We recommend using a .svg file for correct display on HiDPI monitors with a 200% scale in the system.
You can also add icons for each UI theme type (light and dark). In this case, create four icons (two for each theme) and add all of the to the config.json file.
Step 4
- Launch ONLYOFFICE Desktop Editors or restart it if needed.
- Click
next to Clouds.
- In the Connect to cloud office window, open the list of available clouds to check if the connection works correctly.