Create a service account

Let's make sure you're in the right place. This article is for users of our G Suite migration and sync products. Developers who need to create service accounts for their apps should use this article.

Set up an account to authorize your G Suite migration or sync product. Follow these steps to create a service account in the Google Cloud Platform (GCP) Console.

Step 1: Create a project

  1. Go to the Google Cloud Platform Console and sign in as a super administrator. If it's your first time signing in to the console, agree to the Terms of Service.
  2. Click IAM & Adminand thenManage Resources. You might have to click Menu "" first.
  3. At the top of the screen, click Create Project.
  4. Enter a project name.
  5. (Optional) If you want to add the project to a folder, specify the folder name in the Location box.
  6. Click Create.

Step 2: Turn on the APIs for the service account

  1. Make sure your new project is selected in the projects list at the top of the screen.
  2. Click APIs & Servicesand thenLibrary. You might have to click Menu "" first.
  3. For each API you require (below), click the API name and then Enable.

    Tip: If you can't find the API, specify the API name in the search box.

  4. Repeat step 3, as required.
Product APIs
G Suite Migration for Microsoft Exchange Admin SDK, Google Calendar API, Contacts API, Gmail API, Groups Migration API
G Suite Password Sync Admin SDK
G Suite Migration for HCL Notes (GSMIN, formerly G Suite Migration for IBM Notes) Google Calendar API, Google People API, Gmail API, Groups Migration API

Note: If you’re using GSMIN 5.1 or earlier, use the Contacts API instead of the Google People API.

Google Calendar Connector for HCL Notes (GCCIN, formerly Google Calendar Connector for IBM Notes) Admin SDK, Google Calendar API
Google Calendar Resource Sync Admin SDK, Google Calendar API

Step 3: Set up the OAuth consent screen

  1. Click APIs & Servicesand thenOAuth consent screen. You might have to click Menu "" first.
  2. In the User Type settings, select the Internal option.
  3. Click Create.
  4. On the OAuth consent screen, under Application name, specify the name of your application. For example, GSMME.
  5. Click Save.

Step 4: Create the service account

  1. Click APIs & Servicesand thenCredentials. You might have to click Menu "" first.
  2. Click Create Credentials and select Service account.
  3. In the Service account name field, enter a name for the service account.
  4. (Optional) In the Service account description field, enter a description of the service account.
  5. Click Create.
  6. Assign the role of Projectand thenViewer to the new service account.
  7. Click Continueand thenDone.
  8. On the Credentials page, under Service Accounts, click the email address of the service account you created.
  9. Click Show Domain-Wide Delegation.
  10. Check the Enable G Suite Domain-wide Delegation box.

    Important: If you’re installing GSMME or GSPS, make a note of the Unique ID value for the service account. This is also the service account’s client ID and you'll need it later.

    Tip: You can also find the client ID in the JSON file created above.

  11. Click Add Keyand thenCreate new key.
  12. Make sure the key type is set to JSON and click Create.

    You'll get a message the service account's private key JSON file was downloaded to your computer. Make a note of the name and location of this file. You'll need this later.

  13. Click Closeand thenSave.

Important: By default, only the creator of the project has rights to manage the project. To ensure the project can be maintained if the creator leaves the organization, you should assign at least one other person the role of Project Owner. Learn more.

Next step

Return to your migration or sync product to continue the setup process:

Google, G Suite, and related marks and logos are trademarks of Google LLC. All other company and product names are trademarks of the companies with which they are associated.
Was this helpful?
How can we improve it?