1 Visit the Google API console, and create a new project To allow LogicalDOC to access your Google Drive account, enter into your Google API Console and then create a new project called LogicalDOC. [lightbox title=&quo..."/>

Configuring Google Drive API access in LogicalDOC

1

Visit the Google API console, and create a new project

To allow LogicalDOC to access your Google Drive account, enter into your Google API Console and then create a new project called LogicalDOC.

FSVpAnkX0AAUa6o

2

Enable the Google Drive API

Make sure to enable the Google Drive API by clicking on ENABLE APIS AND SERVICES and choosing the right service

FSVpAnkX0AAUa6o

Then enable it.

FSVpAnkX0AAUa6o

So that it becomes an active service:

FSVpAnkX0AAUa6o

3

Set up the consent screen

You have to enter in OAuth consent screen at this point.

FSVpAnkX0AAUa6o

You may also customize your consent screen:

FSVpAnkX0AAUa6o

4

Set up API access credentials (OAuth)

Open the menu Credentials then click on CREATE CREDENTIALS

FSVpAnkX0AAUa6o

Here choose OAuth client ID:

FSVpAnkX0AAUa6o

And opt of Web appliction:

FSVpAnkX0AAUa6o

In Authorized redirect URI put the URL of your LogicalDOC followed by the /gdrive/oauth2callback suffix, you can put several URLs here if you reach LogicalDOC in different ways.

No need to put anything in Authorized JavaScript origins.

FSVpAnkX0AAUa6o

You will then be shown your client ID and secret.

FSVpAnkX0AAUa6o

FSVpAnkX0AAUa6o

5

Go back to LogicalDOC and enter the credentials

Open the menu Tools > Google Drive > Authorize  and paste the client ID and secret.

Then press on Authorize and you’re done.