You must have a Google account that you can use to sign in to the Google Cloud Console in order to integrate your system with Google Apps.
- Access the Google Cloud Console at https://console.cloud.google.com and sign in.
- Go to Home > Dashboard.
- Click Create Project.
A New Project screen opens. - Give the project a name and click Create.
The project opens in the dashboard. - In the navigation panel, click APIs & Services > Dashboard.
(If the navigation panel is not visible, click the three bars in the upper-left corner of the screen to open it.) - Click Enable APIs and Services.
- Search for Google Drive API , select it, and enable it.
- Then go back to the main navigation pane, and choose APIs & Services > OAuth consent screen.
- For User Type, choose Internal or External depending on the following guidelines:
- Internal means the integration is limited to Google Workspace users within the organization (email domain). External allows any Google account.
- Free google accounts only allow External users, because there is no Google Organization. Paid google accounts can use both, but Internal is only allowed if there’s a Google Organization set up.
- External requires the Google Project to be published into production status. It also may require the Google Project to be verified if it displays an icon or display name for the project on the OAuth consent screen.
- Click Create.
An Edit app registration screen for the OAuth consent screen opens.
- Fill in the required information, and then click Save and Continue.
The registration screen for Scopes opens:
- Click Add or Remove Scopes.
An Update Selected Scopes screen opens. - Scroll to the bottom of the screen and manually add https://www.googleapis.com/auth/drive.file. Then click Add to Table.
- Check it in the table and click Update.
It appears under Your non-sensitive scopes.
- Scroll to the bottom of the screen and click Save and Continue.
- In the Test Users screen, click Save and Continue.
- In the navigation panel, click OAuth consent screen again, and click Publish App, and then click confirm.
- In the navigation panel, click Credentials, and in the Credentials screen, click Create Credentials, and choose OAuth client ID.
The Create OAuth Client ID screen opens.
- In Application type, select Web application.
In Name, enter any name.
In URIs under Authorized redirect URIs enter your FileCloud URL appended with /core/googledocsoauth, for example, https://www.myfilecloud.com/core/googledocsoauth. - Click Create.
An OAuth client created message box opens:
- Click Download JSON, and download and save the JSON file.