1- Login with the admin account on https://admin.google.com
2- Click on the "Enable API Access" and saved in the API reference section under the Security tab.
Activating the Admin SDK:
1- Login to https://console.developers.google.com with an admin account.
2- With "New Project Tab", a new project is created. A name describing the project and the relevant organization are selected.
3- Select Enable APIs & Services on the Dashboard.
4- Enabled after the Admin SDK is seen on the Search screen.
5- After the created project is selected (TestProject), a new credential is created with the Service Account Key option over Create Credentials.
6- P12 is selected as the Key Type.
7- A desired string value is entered as the service account name.
8- Project Viewer is selected as the role.
9- When the Create button is pressed, the P12 file is downloaded to the client after being imported to Logsign.
10- Click on Service accounts on IAM & admin on the left tab.
11- The service created on the relevant table is saved to be entered on Email Logsign.
12- Click on Show client ID on the Actions button and the Client ID information is saved to be added as Domaint Wide Authorization.
Delegate domain-wide Authority to Your Service Account
1- Login with the admin account on https://admin.google.com
2- It is entered in the Advanced Settings field under Security.
3- Click on Manage API client access.
4- The Client ID is entered into the text box on the left side. The https://www.googleapis.com/auth/admin.reports.audit.readonly url is entered on the right side and authorize button is clicked.
Integrating G Suite into Logsign
1- Add New Device button is pressed in the Logsign Device List Tab.
2- Under Devices, G Suite is selected as API and Provider.
3- The file with the P12 extension downloaded on the client is imported as Private Key File.
4- As Service Account Email, the previously created service account email address is entered.
5- As User Email, the e-mail address of the user with admin authority is entered in the previous steps.
6- In the Activities section, which of the Admin, Drive, Login events you want to be displayed is selected.
7- The resource is saved with the Save button.