Wiki - Documentation

Documentation Menu

Integrating Eduopus institute with Google drive will enable you to extend storage with additional capacity by uploading eduopus data to your Google drive account.

Setting up the integration follow the following steps:
  • Create google account ( if you don't have ) or use your account
  • Go to Google cloud console account
  • Create a new project
  • Add & Enable Google Drive API to project library
  • Adjust OAuth consent screen 
  • Create OAuth Credentials
  • Add Client ID & Client Secret to your Eduopus platform
  • Gain permissions to your account
Create a new project

Go to Google Cloud console ( https://console.cloud.google.com ), Then Click on Create new project. Popup appears ask about project Name 

create-google-project

Add & Enable Google Drive API to project library

Next, You'll need to add Google Drive API to the project. First go to API & Services -> library

Library


On library page, Search about "Google Drive API" and select it then click on "Enable" Button

Library search google drive


Library Enable


Adjust OAuth consent screen 

The consent screen tells your users who is requesting access to their data and what kind of data you're asking to access. to set it up, click on "OAuth consent screen" button from left menu

OAuth consent button

Select user type : External, Then click on create button

consent-external

The following page appear, Click on "Add Scope" Button

consent details

On "Add scope" button, Select the button in front of "Google Drive API" & Scope:"../auth/drive.file" like the image below

select scope

Create OAuth Credentials

OAuth credentials create API Key & API Secret to be used by Eduopus platform for files ooperations. To Create new OAuth Credentials, Click on "Credentails" Button on left menu

Credentials Button

Then on next page, Click "Create Credentials" button and selelct "OAuth cllient ID"

Create Credentials

On the next form, Select Application Type: "Web Application"

Application Type

You'll need to add Authorized redirect URIs, Click on "Add URI" button. Authorized URL is available on Eduopus platform, go to "Administrative Tasks -> Integration Settings -> Disk Integration -> Google Drive"

Add URI

Eduopus URL

Then Click on "Create" Button, Then popup "OAuth Client Created" appear. 

oauth created


Add Client ID & Client Secret to your Eduopus platform

Copy Client ID & Client Secret from the previous step and paste on Eduopus platform, go to "Administrative Tasks -> Integration Settings -> Disk Integration -> Google Drive"



Gain permissions to your account

From the previous step, Click on "Get access token & Save Credentials" Button. New popup will appear from your Google Account, Select your account, Then Grant permission by click on "Allow" Button.

Google Select user

Google grant perms

Google Grant permissions

Finally, Integration is completed. 

Integration completed