Skip to main content
Skip table of contents

Google Drive

Currently our Google Drive integration only supports uploading files with user interaction and not as an automated background process.

1. Configure settings in Google Admin Panel

1

Navigate to the Google Cloud Console and login as an account that has permissions to manage the Google Workspace.

2

Create a new project named “EzeScan WebApps

image-20240806-022649.png

3

On the left menu select APIs & Services > Library

image-20240806-030558.png

4

Scroll down and click on the Google Drive API tile and then click the Enable buttonimage-20240806-030729.png

image-20240806-030651.png
image-20240806-030731.png

5

On the left menu Select OAuth consent screen

image-20240806-030943.png

6

Select the Internal option and then click Create

image-20240806-025244.png

7

Enter the required information and then scroll down and click the Save and Continue button

App Name: EzeScan WebApps

User support email: Select an email address in the dropdown.

Email addresses: Same email address as above

image-20240806-025529.png
image-20240806-025957.png
8

Click the Add or Remove Scopes button

image-20240806-030145.png
9

Add the following scopes and then click Save and Continue

API: Google Drive API

Scope: …/oauth/drive

image-20240806-031152.png
image-20240806-031221.png

10

Confirm all of the information and then click the Back to Dashboard button

image-20240806-031312.png

11

On the left menu click Credentials

image-20240806-031643.png

12

Click the Create Credentials button and select the OAuth client ID option

image-20240806-023243.png
13

Enter the following information and then click Create

Application Type: Web application

Name: EzeScan WebApps

Authorized redirect URIs: https://{hostname_for_ewa_installation}/api/integrations/oAuthCallback

For EzeScan Cloud the redirect URI would be: https://{tenant}.ezescan.cloud/ewa/api/integrations/oAuthCallback where you would replace {tenant} with your tenant name.

image-20240806-032133.png

14

Write down the Client ID and Client secret to somewhere safe for use in later steps.

image-20240806-032535.png

2. Configure Google Drive Connector in EzeScan WebApps

1

Navigate to the Admin panel of your EzeScan WebApps installation

image-20240806-033229.png
2

On the left menu select Integrations

image-20240806-033304.png

3

Select the Integration Services tab

image-20240806-033339.png

4

Click Add New > Googe Drive

image-20240806-033423.png

5

Enter the following information and click the Create button

Name: Google Drive

Description: Connection to Google Drive

Client ID: Client ID that was generated in the Google Cloud Console in the steps above

Client Secret: Client ID that was generated in the Google Cloud Console in the steps above

Redirect URI: https://{hostname_for_ewa_installation}/api/integrations/oAuthCallback

For EzeScan Cloud the redirect URI would be: https://{tenant}.ezescan.cloud/ewa/api/integrations/oAuthCallback where you would replace {tenant} with your tenant name.

image-20240806-034148.png

6

Click the Edit button to open the connection you just created which will reopen the modal

7

Click the Test Login button and the following modal will appear. Click the Sign In button.

image-20240806-034402.png
8

A Sign in with Google window will appear, please sign in with your administrative user.

image-20240806-034519.png
9

Click Allow on the consent window

image-20240806-034606.png

10

Confirm you see a success message in the top right of the admin panel

image-20240806-034635.png

How to upload into a shared drive

1

Navigate to the Share Drive in the Google Drive webpage and then copy the Id of the share from the URL.

image-20241202-234240.png
2

Configure your Integration Upload stage with the following:

Folder: The Id of the share drive from above.

Sub Folder Name: Name of any sub folders to build a desired folder path. Leave blank to keep files at the root.

Name: Name of the file (the extension will automatically be added).

Be sure to add the optional setting for “Create Missing Folders” if you want the folders in the sub folder path to be created on upload.

image-20241202-234355.png

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.