This guide explains how to activate the Cloud Security module on HOPLONai for Google Workspace. You start the activation in HOPLONai, copy your HOPLONai Client ID, add it with the OAuth scopes in your Google Admin console, then finish the activation in HOPLONai.
Before you begin, make sure you have the following:
Google Workspace Super Admin Account
You must be signed in as a Super Admin in Google Workspace.
Not sure? Check you have the Google Workspace Super Admin role.
In HOPLONai, find the Cloud Security module in the list of features to activate, and click Activate for GWS.
The Cloud Security pop-up asks Do you have a Super-Admin Role in Google Workspace? Click Yes, I do.
The next screen shows your HOPLONai Client ID under Under Client ID, copy & paste. Click copy next to it. It's the same Client ID shown in Step 2 below.
Keep this pop-up open. You come back to it in Step 3.
Open the Google Admin console domain-wide delegation page and sign in with your Super Admin account. You can also get there from Security > Access and Data Control > API Controls > Manage Domain-Wide Delegation.
Click Add new.
Client ID: paste the HOPLONai Client ID:
115711187861756330098OAuth scopes: paste the following list (each scope separated by a comma):
https://www.googleapis.com/auth/drive.activity.readonly, https://www.googleapis.com/auth/drive.metadata.readonly, https://www.googleapis.com/auth/admin.reports.audit.readonly, https://www.googleapis.com/auth/admin.reports.usage.readonly, https://www.googleapis.com/auth/drive.readonly, https://www.googleapis.com/auth/admin.directory.user.readonly, https://www.googleapis.com/auth/drive.appdata, https://www.googleapis.com/auth/drive.apps.readonly, https://www.googleapis.com/auth/drive, https://www.googleapis.com/auth/spreadsheets.readonly, https://www.googleapis.com/auth/admin.directory.user.securityClick Authorize.
Back in the Cloud Security pop-up, tick I confirm that the client ID and scopes have been successfully added.
Click Finish Activation.
Open the domain-wide delegation page and look at the Client IDs listed:
You see 115711187861756330098 but some data is missing in HOPLONai: click Edit on that entry, replace the OAuth scopes with the full list above, and click Authorize.
You see only the older HOPLONai Client ID 113230578871739399757: add a new entry with Client ID 115711187861756330098 and the full scope list, as in Step 2. Keep the older entry until HOPLONai support confirms the switch, then delete it.
You removed the HOPLONai entry by mistake: add it again with Client ID 115711187861756330098, as in Step 2, then tell HOPLONai support so we can confirm your data is coming through. You don't need to activate again in HOPLONai.
Note:
If anything doesn't work as described, contact support for assistance.