Difference between revisions of "StableBit CloudDrive Q7941147"

From Covecube - Wiki
(Created page with "Use your own Google Drive API keys with StableBit CloudDrive. == When to Use == Using your own API keys from Google may offer performance benefits because they will give you...")
 
 
(2 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
**; [[File:GoogleDrive_GoogleDriveApiEnable.png|600px]]
 
**; [[File:GoogleDrive_GoogleDriveApiEnable.png|600px]]
 
** Wait until the API is enabled.
 
** Wait until the API is enabled.
* If the API is already enabled, simply select it by clicking on '''Google Drive'''.
+
* If the API is already enabled, simply select it by clicking on '''Google Drive API'''.
 
*; [[File:GoogleDrive_GoogleDriveApi.png|600px]]
 
*; [[File:GoogleDrive_GoogleDriveApi.png|600px]]
 
* Navigate to '''Credentials'''.
 
* Navigate to '''Credentials'''.
Line 25: Line 25:
 
*; [[File:GoogleDrive_CreateClientIdOther.png|600px]]
 
*; [[File:GoogleDrive_CreateClientIdOther.png|600px]]
 
* Note the '''client ID''' and '''client secret''' given to you, we will use it shortly.
 
* Note the '''client ID''' and '''client secret''' given to you, we will use it shortly.
 +
*; [[File:GoogleDrive_ClinetIdSecret.png|600px]]
 
* Open '''%PROGRAMDATA%\StableBit CloudDrive\ProviderSettings.json''' in '''Notepad'''.
 
* Open '''%PROGRAMDATA%\StableBit CloudDrive\ProviderSettings.json''' in '''Notepad'''.
* Make the following edits:
+
* Make the following edits under '''GoogleDrive''':
 
*; [[File:GoogleDrive_ProviderSettings.png]]
 
*; [[File:GoogleDrive_ProviderSettings.png]]
* Replace '''TheClientIdProvidedByGoogle''' with the client ID that was provided to you by Google.
+
* Replace '''TheClientIdProvidedByGoogle''' and '''TheClientSecretProvidedByGoogle''' with the client ID and secrets that were provided to you by Google.
* Replace '''TheClientSecretProvidedByGoogle''' with the client secret that was provided to you by Google.
 
 
* Do not change the '''RedirectUri''', leave that as '''null'''.
 
* Do not change the '''RedirectUri''', leave that as '''null'''.
 
* Save the file.
 
* Save the file.
  
 
You're done. The next connection that you make to Google Drive from StableBit CloudDrive's '''New Drive''' tab will use your new API keys.
 
You're done. The next connection that you make to Google Drive from StableBit CloudDrive's '''New Drive''' tab will use your new API keys.

Latest revision as of 19:38, 27 March 2018

Use your own Google Drive API keys with StableBit CloudDrive.

When to Use

Using your own API keys from Google may offer performance benefits because they will give you your own quota limits. Application-wide quota limits will no longer apply to you.

Steps

  • Open: https://console.cloud.google.com/apis/dashboard
  • If Google Drive is not listed as an available API:
    • Click Enable APIs and Services.
      GoogleDrive EnableApisAndServices.png
    • Select Google Drive API.
      GoogleDrive EnableGoogleDriveApi.png
    • Click Enable.
      GoogleDrive GoogleDriveApiEnable.png
    • Wait until the API is enabled.
  • If the API is already enabled, simply select it by clicking on Google Drive API.
    GoogleDrive GoogleDriveApi.png
  • Navigate to Credentials.
    GoogleDrive Credentials.png
  • Under the OAuth consent screen for the Product name shown to users enter StableBit CloudDrive and click Save.
    GoogleDrive ProductName.png
  • Under Credentials click Create credentials and select OAuth client ID.
    GoogleDrive OAuthClientId.png
  • Select Other and click Create.
    GoogleDrive CreateClientIdOther.png
  • Note the client ID and client secret given to you, we will use it shortly.
    GoogleDrive ClinetIdSecret.png
  • Open %PROGRAMDATA%\StableBit CloudDrive\ProviderSettings.json in Notepad.
  • Make the following edits under GoogleDrive:
    GoogleDrive ProviderSettings.png
  • Replace TheClientIdProvidedByGoogle and TheClientSecretProvidedByGoogle with the client ID and secrets that were provided to you by Google.
  • Do not change the RedirectUri, leave that as null.
  • Save the file.

You're done. The next connection that you make to Google Drive from StableBit CloudDrive's New Drive tab will use your new API keys.