Configuring Google Drive Application


This section explains the process of configuring Google Drive application.
 

Steps to Configure Google Drive

  1. Go to https://code.google.com/apis/console.

    Figure 25: Sign in Page 

  2. Log into Google Drive using your credentials.

    Figure 26: Create Project

  3. Click the Create project… button. The following screen displays.


    Figure 27: Projects Pane

  4. Click the Projects link.


    Figure 28: Create Project

  5. Now, click the Create Project Button.

    Figure 29: Project Details

  6. Enter a name for the App as shown in the figure above.
  7. Enable the Terms of Service checkbox.
  8. Click the Create button. After successful creation of the app, following screen is displayed.

      
    Figure 30: Project Dashboard

  9. Click the API & auth link to expand it.
  10. Now click the APIs link.
  11. Click the STATUS toggle button to switch ON the following APIs (see figure below): 
    • Big Query API
    • Drive API
    • Drive SDK
    • Google Cloud SQL
    • Google Cloud Storage
    • Google Cloud Storage JSON API
    • Google+ API
    • Google+ Domains API 


    Figure 31: Enabled APIs

  12. Now click the Credentials link.


    Figure 32: Create new Client ID

  13. Click the Create new Client ID button.


    Figure 33: Create Client ID

  14. Select the APPLICATION TYPE as Web application.
    Enter the Authorized Redirect URI as follows: https://example.com:8443/app/rest/adapters/googledrive/account (see figure above).
  15. Replace the highlighted part with the Domain where Adeptia Suite is installed, which will be accessed by the end user.
  16. Click the Create Client ID button.


    Figure 34: Client ID for Web Application

  17. Click the Consent screen link.


    Figure 35: Consent screen

  18. Select your EMAIL ADDRESS from the dropdown list.
  19. Now, enter your PRODUCT NAME.
  20. Click Save.

    Keep a note of the value of CLIENT ID (App key) and CLIENT SECRET (appKeySecret). You need to configure these values in Adeptia Suite.