This is an old revision of the document!


Google editor integration

To allow users to create and edit Office documents with Google, please follow these steps:

1. Go to https://console.developers.google.com/apis/library

2. Search for “Google Drive API”, select to manage the API and then click “ENABLE”.

3. On the Dashboard, click “Create credentials” → “OAuth Client ID”.

  1. Select “Web application” as the “Application type”.
  2. Type the name of your application (any name you wish).
  3. Inside “Authorized JavaScript origins” type your FileRun website domain (if FileRun is installed at “http://www.mysite.com/filerun” type “http://www.mysite.com”).
  4. Inside “Authorized redirect URIs” type “http://www.mysite.com/filerun/?module=custom_actions&action=google&method=getToken”. Replace “http://www.mysite.com/filerun/” accordingly.

4. Now that you added a “Client ID”, you should see it in the “OAuth 2.0 client IDs” list on the “Credentials” page.

5. Click the name of your created client ID.

6. Copy both the “Client ID” and “Client secret” and configure them inside “Control Panel” > “System configuration” > “Files” > “Plugins” > “Google Docs Editor”.

7. Clear your browser's cache and reload FileRun in your browser to see the new options.