Net Drive creating your own google api client

Modified on Thu, Sep 17, 2020 at 12:00 PM

NOTE: All users of NetDrive share the same Google Drive API client ID for accessing their files. If your connection suffers from slow download and/or upload please register your own client ID.

1. Open https://console.developers.google.com 298 in your browser and log in to your google account.

2. Click 'Select a project’

image

image790×511 18.7 KB

 

3. Click 'NEW PROJECT’

If you have a project already, you can use it.

image

image961×761 17.3 KB

 

4. Input project name, Organization and Location then create it.

You need to set your own Organization and Location.

image

image695×475 17.6 KB

 

5. Create project may take some time. Wait and choose ‘Select a project’ again then open project that you’ve created.

image

image857×528 23.7 KB

 

6. Click 'ENABLE APIS AND SERVICES’

image

image857×528 24.2 KB

 

7. Search for ‘google drive api’ and click 'Google Drive API’

image

image1011×787 54.6 KB

 

8. Enable it

image

image937×458 30.5 KB

 

9. Click API name to get back to dashboard

image

image1047×578 41.4 KB

 

10. Click 'OAuth consent screen’

image

Select Internal as User Type:

OAuth_consent_screen_–APIs___Services–My_Project_48459–_Google_API_Console

11. Set your application name, application logo and support email

image

image610×831 43.3 KB

 

12. Click Add scope button

image

13. Select 'Google Drive API …/auth/drive and click ‘ADD’ button

image

image992×615 45.8 KB

 

14. Enter ‘bdrive.com 38’ for Authorized domains

We need this for OAuth to work in NetDrive or CloudSync.

Don’t forget to press enter!

image

15. Enter additional links and click ‘Save’ button

If you want to use this API key for CloudSync change domains to https://cloudsync.bdrive.com/ 13.

image

For copy and paste:

Ignore warnings like below because this API key is for you only.

image

16. Click 'Credentials’

Select 'Create credentials’

Select 'OAuth client ID’

Credentials_–APIs___Services–My_Project_48459–_Google_API_Console

Credentials_–APIs___Services–My_Project_48459–_Google_API_Console791×403 49.9 KB

 

17. Choose ‘Web application’ and name it.

Add ‘https://accounts.bdrive.com/oauth/ 50’ to ‘Authorized redirect URIs’. Don’t forget to press Enter key.

Click ‘Create’ button

image

image812×812 57.6 KB

 

You need to press enter after input https://accounts.bdrive.com/oauth/ 50.

If the redirect uri is successfully added your screen will show the uri like this:

image

image807×223 15.9 KB

 

18. Your OAuth client ID and client secret will be displayed

We need this later. Save your client ID and client secret to a text file

Credentials_–APIs___Services–My_Project_48459–_Google_API_Console

Credentials_–APIs___Services–My_Project_48459–_Google_API_Console594×502 25.8 KB

 

19. Open https://accounts.bdrive.com 118 in your browser and log in.

Click 'Manage Cloud Service Secrets

image

image1605×981 85.3 KB

 

20. Click 'Register’

image

image736×262 12.9 KB

 

21. Choose ‘Google Drive’ in type and input client id and secret from step 18.

image

image710×623 27.8 KB

 

22. Click register and its done!!

IMPORTANT: You have to add new drive item to use registered client id and secret.

When adding new Google Drive item web browser will be opened and you can select your client ID.

image

image1156×652 45.9 KB

 

 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article