Aurinko
Aurinko websiteAurinko blogAPI ReferenceContact Support
Aurinko API
Aurinko API
  • Getting started
    • What is Unified Mailbox API?
    • Getting started with Aurinko
    • Get your developer API keys
    • Adding Aurinko to Google Workspace allowlist
    • Bubble.io plugin
    • Team members and roles in applications
  • Unified APIs
    • Email API
    • Calendar API
    • Contacts API
    • Tasks API
    • Webhooks API
      • Configuring Pub/Sub for Gmail API Webhooks
    • Direct API
  • Authentication
    • OAuth Flow
      • Account OAuth Flow
      • User ОАuth Flow
      • Service Account OAuth Flow
    • Authentication scopes
    • Authorized return URLs
    • Google OAuth setup
    • Office 365 OAuth setup
    • ZOHO OAuth setup
    • Service accounts
      • Setting up G Suite service account
      • Setting up Office 365 daemon app registration
  • Scheduling
    • Create your first appointment booking page
    • Calendar Booking Page
    • Booking API
    • Group Booking API
  • Workspace Addons
    • Outlook addins
      • Create your first Outlook addin
      • Office 365: Installing Outlook addin
    • Microsoft Teams apps
      • Microsoft Teams bot setup
      • Create your first MS Teams app
      • Installing MS Teams app
    • Chrome Extensions with Google authentication
    • Google Workspace Add-Ons
  • Dynamic API
    • What is Dynamic (Virtual) API?
    • Getting Started with Dynamic API
Powered by GitBook
On this page
  1. Authentication
  2. Service accounts

Setting up G Suite service account

Setting up a G Suite service account to generate credentials and delegate authority. Follow the steps in the Google API Console for configuration.

PreviousService accountsNextSetting up Office 365 daemon app registration

Last updated 8 months ago

To generate service-account credentials, or to view the public credentials that you've already generated, do the following in your Google API Console:

  1. Open the .

  2. If prompted, select a project, or create a new one. Refer to if creating a new project, the following API's need to be enabled: Gmail API, Google Calendar API, Contacts API, Google People API, and Tasks API.

  3. Click Create service account.

  1. Under Service account details, type a name, ID, and description for the service account, then click Create.

  1. Optional: Under Service account permissions, select the IAM roles to grant to the service account, then click Continue.

  2. Optional: Under Grant users access to this service account, add the users or groups that are allowed to use and manage the service account.

  3. From the main "Service accounts" screen select the newly created account

  1. Use "EDIT" mode to activate "G Suite Domain-wide Delegation" and also copy the Unique ID (you will need it later). Click ADD KEY to create a new JSON key if there is no key yet (you will need to upload this key to Aurinko). Then save the form.

Now an administrator of the G Suite domain needs to delegate authority to the service account, using the Unique ID value you copied.

  1. In the Domain wide delegation pane, select Manage Domain Wide Delegation.

  2. Click Add new.

  1. In the Client ID field, enter the service account's Unique ID that you have copied.

  2. Click Authorize.

From your G Suite domain’s , go to Main menu menu > Security > Advanced settings [API Controls].

In the OAuth scopes (comma-delimited) field, enter the list of scopes that your application should be granted access to. Aurinko API will need these scopes , , , ,

Admin console
https://www.googleapis.com/auth/gmai.modify
https://www.googleapis.com/auth/gmail.send
https://www.googleapis.com/auth/calendar
https://www.googleapis.com/auth/contacts
https://www.googleapis.com/auth/tasks
Service accounts page
this article