Enabling Google Drive API on the Google Console

Enabling Google Drive API on the Google Console


This tutorial shows how to create a project and enable the Google Drive API for a specific Google account, and get access credentials.
1) Log in with your Google account in the reserved area where you can configure Google APIs, from this URL: https://console.developers.google.com/apis/library




2) After login select or create a new project



3) Create or select an existing project.



Creating a Project

1 -  Enter a name and the organization your project will be linked to




2 - Then click on the “Select Project” item to access the project.





Enabling API


1) Click on the item “ACTIVATE APIS AND SERVICES”.








2) Search for "Google Drive API", select this option and on the next screen click "ACTIVATE"



3) In the left menu ("APIs and Services"), click on "OAuth Permission Screen".


4) Check the “External” option and click the “Create” button.



5) Enter the name of your application and click on the "SAVE" button.
   NOTE: Leave all other options at their default values.







6) After creating the OAuth consent screen, select the item “Credentials” from the left menu (“APIs and services”)




7) 
Click on the “CREATE CREDENTIALS” item.



8) Select the “OAuth Client ID” item








9) Select the “Computer App” option, type the name and click “Create”.




10) Immediately, “Customer ID” and “Secret Key” of the customer will be created. Click OK.








11) After creating the credentials, download the JSON file in the registry that was created.




12) After this procedure, access the scriptcase “API” interface.


- Enter the name of the application created in the OAuth consent screen in the API settings.

- In the JSON OAUTH field, insert the content of the JSON file downloaded in the previous procedure.


NOTE: After entering these values, click on the “AUTH” button.




13) Soon after, select your gmail account again, as the authentication code will be generated. Copy and paste the “authentication code” into the API settings field and click the “SAVE” button





    • Related Articles

    • Security Module Two-Factor Authentication - Google Authenticator

      Google Authenticator generates 2-step verification codes on your smartphone. Two-Step Verification provides greater security for your account as it requires a second verification step at login. In addition to the password, you will need a code ...
    • Creating Your Credentials for the Google Sheets API

      Creating your credentials 1 - Log in with your Google account in the reserved area where you can configure Google APIs, from this URL: https://console.cloud.google.com/apis/library 2 - If you already have projects created, just click on the selected ...
    • Creating the Google Maps API Key

      In this article we will see how to enable and obtain the key to use Google Maps in Scriptcase applications. Accessing the Google Maps Platform 1.Go to the link https://mapsplatform.google.com/ to create your key. You will need to login to a google ...
    • Configuring the Google Authenticator API in ScriptCase

      The Google Authenticator API can be very simply configured to be used primarily in the two-factor authentication (2FA) of the security module. In this article, we will show you how to perform this configuration in ScriptCase. Download the Google ...
    • Enabling DropBox API

      This tutorial shows you how to obtain Dropbox access credentials. 1) First, it is necessary to create a Dropbox account. Access the link to create your account. (User must be an administrator). If you already have an account, please proceed to the ...