- Home
- Workspace
- Administration
- Connecting external services
- Integrating ONLYOFFICE with Google Cloud Storage
Integrating ONLYOFFICE with Google Cloud Storage
Connect the Google Cloud Storage service to use the connected cloud storage as a third-party storage when creating backups. It's also possible to use this cloud storage to store data and static content from your portal. Use Authorization keys to connect your portal to Google Cloud Storage.
Bare Bones Instructions
If you decide to connect Google Cloud Storage, proceed through these simple steps:
First of all, go to the Settings section. To do that, click the
icon in the right upper corner.
Switch to the Integration tab.
Open the Third-Party Services page.
In this section, you will see all the third-party services you can connect your portal to. The most important part in the process of establishing the connection is to find application keys. If you want to connect a third-party service to your portal, first of all get the application ID (may be called app key, client_id, api key, etc.) and Key (app secret, client_secret, api secret, etc.). The way to obtain the connection keys differs from service to service. So choose the necessary service and follow the instructions:
Google Cloud Storage 
Use this instruction if you want to connect Google Cloud Storage service to backup and store data from your portal.
- Go to Google Cloud Platform console.
- Sign in to your account.
- Click the navigation menu in the upper left corner and select the IAM & admin -> Service accounts section.
- Select an existing project or create a new one.
- Click the Create service account button.
- Specify the Service account name and click Create.
- Select the Owner role and click Continue.
- Optionally, grant access to this service account to users: specify necessary Google accounts and click Done.
- On the Service accounts page, click the menu button in the Actions field and choose the Create key option.
- In a new window that opens, choose the JSON type and click Create.
- The .json file that contains the private key will be downloaded to your computer. To connect the GoogleCloud service, you will need to open this .json file with a text editor, copy its contents and paste into the json field on the portal.
Helpful Hints
How to synchronize my Google Cloud Storage with the Documents module?
You can easily synchronize your Google Cloud Storage with the 'Documents' module of your portal just within a few minutes.
- Enter your portal.
- Click the Documents link on the start page.
- In the opened 'Documents' module, click the Google icon under the 'Connect' caption at the left sidebar.
Or, go to the 'Settings' section at the left sidebar, choose 'Connected clouds' option and click the Connect cloud button.
- Log in to your Google account.
- Allow ONLYOFFICE to access your account clicking the corresponding button.
- Specify the title of a new folder where the documents from your Google Cloud Storage account will be located or leave the default option as it is.
- Click the Save button.
Can I place the files from another resource to any section within Documents?
If you don't have administrator rights for the Documents module, all the documents from another resource will be put into the 'My documents' section.
Being an administrator (with full access or within the Documents section only), you can place the files to the 'Common' section checking the Make shared and put into the 'Common' folder box. In case this box remains unchecked, the files will be placed to the 'My documents' section.
Can I remove the added resource from the online office without deleting the data itself?
You can do it by clicking the icon and selecting the 'Disconnect third party' option in the menu. The documents will be still available at your Google Cloud Storage.
What should I bear in mind deleting a document from the resource folder?
If you decide to delete a document from the resource folder, it will be also deleted from your Google Cloud Storage. Besides this file won’t be placed to the 'Trash' section of the 'Documents' module, i.e. the removal will be irreversible.