How to integrate Google Drive as External Storage on OwnCloud 8

This tutorial will show you how to integrate Google Drive as External Storage on OwnCloud 8. Google Drive and OwnCloud is a perfect combination to provide you a better storage and interface to communicate between Google Drive and you or your user. I have running a droplet on my DigitalOcean.com account which have only 20 GB of capacity. By integrating Google Drive as external storage on OwnCloud which installed on the droplet, I can have additional 15 GB of space to store my files.

How to integrate Google Drive as External Storage on OwnCloud 8

A. Create a Project on Google Developer page

First we need to create a project. Log in to https://console.developers.google.com and create your new project.

 create new project google developer 1

Name the project

how to integrage google drive on owncloud 1

Enable Google Drive API

Now go to APIs & Auth and click Drive Api

how to integrage google drive on owncloud 2

Click Enable API

how to integrage google drive on owncloud 3

Once you enable the API, now go to Credentials under APIs & Auth

how to integrage google drive on owncloud 4

Click Create new Client ID to create a new client ID which will be used to access Google Drive from Owncloud

how to integrage google drive on owncloud 5

Select Web application and click Configure Consent screen button

how to integrage google drive on owncloud 6

Enter your email address and type the product name and then click save. Next we need to create a new client id

how to integrage google drive on owncloud 7

Select Web application and enter the Authorized Javascript origin and Authorized redirect URLs section

how to integrage google drive on owncloud 8

Now you should have detailed information about client ID.

B. Add external storage to Owncloud

After we created Google Drive client ID, we need to enable External Storage to Owncloud. Login to your owncloud admin page and go to external storage. Create a new external storage and select Google Drive from the list. Use the Client ID and secret we created on the previous steps.

how to integrage google drive on owncloud 9

When successful, you will be asked to give access to your google account as follow

how to integrage google drive on owncloud 10

Done. Now you have a Google Drive storage enabled on Owncloud

Admin

2 Comments

  1. Thanks for this tutorial. What are the Authorized Javascript origin and Authorized redirect URLs?

Leave a Reply

Your email address will not be published. Required fields are marked *