Jump to content
  • 0

How to access your cloud drive data after May 15 2024 using your own API key


Alex

Question

This post will outline the steps necessary to create your own Google Drive API key for use with StableBit CloudDrive. With this API key you will be able to access your Google Drive based cloud drives after May 15 2024 for data recovery purposes.

Let's start by visiting https://console.cloud.google.com/apis/dashboard

You will need to agree to the Terms of Service, if prompted.

 

0.png

0.1.png

If you're prompted to create a new project at this point, then do so. The name of the project does not matter, so you can simply use the default.

 

1.png

Now click ENABLE APIS AND SERVICES.

 

2.png

Enter Google Drive API and press enter.

 

3.png

Select Google Drive API from the results list.

 

4.png

Click ENABLE.

 

Next, navigate to: https://console.cloud.google.com/apis/credentials/consent (OAuth consent screen)

5.0.png

Choose External and click CREATE.

 

5.1.png

Next, fill in the required information on this page, including the app name (pick any name) and your email addresses.

Once you're done click SAVE AND CONTINUE.

 

6.png

On the next page click ADD OR REMOVE SCOPES.

 

7.png

Type in Google Drive API in the filter (enter) and check Google Drive API - .../auth/drive

Then click UPDATE.

 

8.png

Click SAVE AND CONTINUE.

 

Now you will be prompted to add email addresses that correspond to Google accounts. You can enter up to 100 email addresses here. You will want to enter all of your Google account email addresses that have any StableBit CloudDrive cloud drives stored in their Google Drives.

9.png

Click ADD USERS and add as many users as necessary.

 

10.png

Once all of the users have been added, click SAVE AND CONTINUE.

 

11.png

Here you can review all of the information that you've entered. Click BACK TO DASHBOARD when you're done.

 

Next, you will need to visit: https://console.cloud.google.com/apis/credentials (Credentials)

12.png

Click CREATE CREDENTIALS and select OAuth client ID.

 

13.png

You can simply leave the default name and click CREATE.

 

14.png

You will now be presented with your Client ID and Client Secret. Save both of these to a safe place.

 

Finally, we will configure StableBit CloudDrive to use the credentials that you've been given.

Open C:\ProgramData\StableBit CloudDrive\ProviderSettings.json in a text editor such as Notepad.

Find the snippet of JSON text that looks like this:

"GoogleDrive": {
    "ClientId": null,
    "ClientSecret": null
}

Replace the null values with the credentials that you were given by Google surrounded by double quotes.

So for example, like this:

"GoogleDrive": {
    "ClientId": "MyGoogleClientId-1234",
    "ClientSecret": "MyPrivateClientSecret-4321"
}

Save the ProviderSettings.json file and restart your computer. Or, if you have no cloud drives mounted currently, then you can simply restart the StableBit CloudDrive system service.

Once everything restarts you should now be able to connect to your Google Drive cloud drives from the New Drive tab within StableBit CloudDrive as usual. Just click Connect... and follow the instructions given.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Guest
This topic is now closed to further replies.
×
×
  • Create New...