Assistance Required for Integrating OnlyOffice into a Live Website

Dear OnlyOffice Support Team,

I am reaching out for assistance regarding the integration of OnlyOffice into my live website. I have successfully installed and configured OnlyOffice locally by following the steps provided on your installation guide (link to guide) using a virtual machine.

Now that my website is live, I am facing challenges integrating OnlyOffice into the live environment. Specifically, I need guidance on how to configure the following two settings in my live setup:

  1. Configure::write("OnlyofficePath", "......web-apps/apps/api/documents/api.js");
  2. Configure::write("onlyofficesecret", "##########");

Here are some key details about my requirements and setup:

  • My website requires embedding OnlyOffice for document editing and collaboration features.
  • I am unsure about the correct configuration of the OnlyofficePath and onlyofficesecret for the live environment.
  • Do I need to set up a separate self-hosted instance of OnlyOffice on my live server, or is there an alternative method using the hosted cloud version?

Could you please provide clear instructions or the necessary steps to achieve this integration in a live environment? Additionally, let me know if my current subscription or installation type affects the availability of these features.

Thank you for your support. I look forward to hearing from you soon.

Hello @Saba,
If you want to integrate Onlyoffice Docs with your website, you’d need to have document management and storage systems set up on your side. After that you’d need to add this config to your website - Config
The first setting that you mention should include your installed Document Server address - document_server_url/web-apps/apps/api/documents/api.js
Also, the config should include the token parameter. As the token parameter value of the editor initialization config you should provide the JWT token (its signature is your secret which can be found in local.json - %Program Files%\ONLYOFFICE\DocumentServer\config, the payload - the whole content of the Editor’s initialization config)
You can learn more about the token by following these links:
Signature and Security
Browser

Also, please check out these guides to get better understanding of how everything is supposed to work: How It Works

You can either set up a separate self-hosted instance on your own server or use the hosted cloud version (paid option, if you choose it, you can contact our sales department - sales@onlyoffice.com)
The availability of these features does not depend on installation type or subscription

Please feel free to ask if you have any additional questions

I am currently working on integrating OnlyOffice Document Server into my live website and need some clarification regarding the hosting setup.

Here is my situation:

  1. I successfully installed and configured OnlyOffice Document Server locally for testing purposes, and it works perfectly with my local website.
  2. Now that my website is live, I would like to integrate OnlyOffice into the live environment using the free community version.

I have a few questions regarding the hosting requirements for the Document Server:

  1. Can the Document Server be installed on low-resource environments such as Amazon Free Tier (with limited CPU and RAM)?
  2. Is it possible to install the Document Server on shared hosting (cPanel) where my live website is currently hosted?
  3. If a VPS or dedicated server is required, are there any lightweight configurations or optimizations available for small-scale usage?
  4. Does OnlyOffice offer a hosted version of the Document Server (free or trial) that can be integrated with my live website?

I would greatly appreciate your guidance on the best approach for hosting the Document Server in a live production environment, especially while keeping costs low.

Thank you for your continued support. Please let me know if you need any additional details about my current setup.

Looking forward to your response.

  1. You can check out the requirements by following this link: ONLYOFFICE Docs for Docker system requirements - ONLYOFFICE
  2. No, unfortunately, it is not possible to install Document Server on shared hosting, also, there are no relevant guides for such an installation. Root permission is required for the installation
  3. Please refer to the requirements from the link provided above
  4. What do you mean by that? There are both self-hosted and cloud-hosted versions, you can apply for a free trial by contacting the sales: sales@onlyoffice.com
    Both versions can be integrated

Thank you for your prompt response and for clarifying the installation requirements for OnlyOffice Document Server. I appreciate the information regarding the necessity of root access and the distinction between self-hosted and cloud-hosted versions.

I will review the system requirements and explore the best option for integrating OnlyOffice with my live website. Additionally, I will consider reaching out to the sales team for more details on the free trial of the cloud-hosted version.

Thanks again for your support! I appreciate your assistance.

You are welcome! If you have any new questions, feel free to create a new forum topic