Project Creation, Enable API Access in Google Cloud Console
& Add Scopes at Domain Level


  1. Steps to create project in Google Console
  2. Enable API Access in Google Cloud Console
  3. Steps to Add Scopes at Domain Level

Create Project in Google Cloud Console


If your source or destination platform is G Suite, you need to setup Google Console project before proceeding for migration. Follow below given steps to create a google console project:

STEP 1

Go to the cloud platform https://console.developers.google.com/ and Sign in with any G Suite Admin ID.

Google Cloud Console login


STEP 2

After successful sign in, home screen comes up. Go to IAM & Admin >> Create a Project to initiate project creation.

new Project


STEP 3

Then Enter the project name and click on Create button to generate new project.

Create Project


STEP 4

After successful creation, navigate to API and Services > Credentials:

APIs & Services option
STEP 5

Now click on Create Credentials > Service Account Key:

Create Credentials
STEP 6

Now, in Service account details section, enter Service Account Name & Click on CREATE AND CONTINUE button.

New service account
STEP 7

Now, grant service account permissions (optional) for that click on the Select a role option. Choose Project >> Owner from drop down. After that click on Continue and then Done button.

Owner option
STEP 8

Next, click on Edit button under the Actions.

Key type
STEP 9

Service account details screen would be displayed, then click on Keys tab in same page. After that click on Add key >> Create new key and Select an option P12 from key type and click on Create button:

Download the P12 file
Download the P12 file

After successful creation, Private Key will be downloaded in your computer (Save this file securely as it will require for migration). A message will prompt, “Private Key saved to your computer” click on Close:

Download the P12 file
STEP 10

Now, go to the Details tab under the Service Accounts window. Here, you will see the Client / Unique ID. (Unique/Client ID is same which is used in Software.) Copy this ID as you will need this ID afterwards.

done

Enable APIs in Google Cloud Console

STEP 11

Now go to Menu > APIs and Services > Library. Now open and Enable each library as given below:

  1. Admin SDK API
  2. Google Drive API
  3. Gmail API
  4. Google Calendar API
  5. Google People API
STEP 12

Open and Enable each library as given below:

enable Admin SDK


Enable Google Drive API

 Enable Drive API

Enable Gmail API

 Enable Drive API2


Enable Google Calendar API

 Enable Gmail API


Enable Google People API

 Enable Google Calendar API


Add Scopes at Domain Level

STEP 13

Go to Google Admin Console at: https://admin.google.com/ and sign in with admin account:

Show Domain-Wide Delegation
STEP 14

After successful login, Google Admin console comes up. Click on Security > Access and Data Control > API Controls:

Enable Gsuite Domain-wide Delegation
STEP 15

API Controls screen would be displayed, then click on MANAGE DOMAIN WIDE-DELEGATION in Domain-wide delegation:

view Client ID
STEP 16

Domain-wide delegation screen would be displayed, then click on “Add new” button:

 Copy the Client ID
STEP 17

"Add a new client ID" screen would be displayed, then enter earlier created Client ID (Prefer Step 10 from project creation steps) in “Client ID / Unique ID” field and add below given permissions in “OAuth Scopes(comma-delimited)” fields and click on Authorize button:

 Library option


G Suite as a Source:

Users
https://www.googleapis.com/auth/admin.directory.user.readonly,
https://www.googleapis.com/auth/admin.directory.userschema.readonly,
https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly,
Drive
https://www.googleapis.com/auth/drive.readonly,
https://www.googleapis.com/auth/drive.metadata.readonly,

Emails
https://www.googleapis.com/auth/gmail.readonly,
https://www.googleapis.com/auth/gmail.labels,

Calendar
https://www.googleapis.com/auth/calendar.readonly,
https://www.googleapis.com/auth/calendar.events.readonly,
https://www.googleapis.com/auth/calendar.settings.readonly,
Contact
https://www.google.com/m8/feeds

G Suite as a Destination:

Users
https://www.googleapis.com/auth/admin.directory.user.readonly,
https://www.googleapis.com/auth/admin.directory.userschema.readonly,
https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly,

Drive
https://www.googleapis.com/auth/drive,
Emails
https://www.googleapis.com/auth/gmail.insert,
https://www.googleapis.com/auth/gmail.labels,
Calendar
https://www.googleapis.com/auth/calendar,
https://www.googleapis.com/auth/calendar.events,
Contact
https://www.google.com/m8/feeds

STEP 18

After successful authorization, above entered details will be added and shown in list as given below:

 authorization-successful