Skip to main content


Add a Google Workspace system
  1. Go to Systems > Overview.

  2. Click Add.

  3. Select Google for System Type.

  4. Enter a System Name.

  5. Click Save.

  6. The new System is added to the Configured Systems pane.

  7. In a new tab, go to the Google Cloud Platform console at

  8. Create a new project named NIMproject and switch to it.

  9. Expand the menu and go to APIs & Services > Library.

  10. Search for and enable the following APIs:

    • Admin SDK API

  11. Expand the menu and go to APIs & Services > OAuth Consent Screen.

  12. Select the Internal user type and click Create. Enter NIM for the App Name. Enter a relevant User Support Email and Developer Email Address. Click Save And Continue.

  13. On the Scopes page, click Save And Continue.

  14. On the Summary page, click Back To Dashboard.

  15. Expand the menu and go to APIs & Services > Credentials.

  16. Click Create Credentials > Service Account.

  17. For the Service Account Name, enter NIM. Accept the default generated Service Account ID value. Click Create and Continue. Click Done.

  18. Click the pencil icon to edit the newly created NIM service account. On the Details tab, click Show Domain-Wide Delegation to expand it. Select the Enable Google Workspace Domain-Wide Delegation checkbox. Click Save. Copy the Email and Unique ID to a local text editor application.

  19. Go to the Keys tab. Click Add Key > Create New Key. Select P12. Click Create. The .p12 file is downloaded. Copy the Private Key Password (notasecret) to a local text editor application. Click Close.

  20. Go to the Google Admin Console at

  21. Go to Security > Settings > API Controls.

  22. Click Manage Domain-Wide Delegation.

  23. Click Add New.

  24. Paste the Unique ID you copied earlier into the Client ID field.

  25. In the OAuth Scopes (Comma-Delimited) field, enter,,,

  26. Click Authorize. The new OAuth application is added with 4 scopes.

  27. Return to your NIM browser tab. Add a certificate using the .p12 certificate you downloaded earlier, and the password you copied (notasecret). Name the certificate Google.

  28. In NIM, edit the Google system you created previously. See Edit a system.

  29. For the Application (Client) ID, paste the service account Email you copied previously. For the Directory (Tenant) ID, enter the email address you use to log in to Google Cloud Platform. For the Certificate, select the Google certificate you just added.

  30. Click Save.

  31. Click Test Connection. A success message is returned.