You add a source connection to allow G Suite Migrate to read, convert, and transfer data from the G Suite source environment.
Before you begin
- You don't have to create a new service account. You can use the service account that you set up earlier. Follow the steps below if you want to create a new service account.
- Use a GCP project belonging to either the source or target environment, depending on how you want to manage your API usage and quotas.
- You can create the new service account in a different GCP project. If you do, first enable the APIs in the new project. Go to Enable APIs.
Steps to add a source connectionStep 1: Create the service account (Optional)
- In the GCP Console, click IAM & AdminService Accounts. You might have to click Menu first.
- Click Create Service Account.
- In the Service account name field, enter a name.
The service account ID is completed automatically.
- (Optional) In the Service account description field, enter a description of the service account.
- Click Create.
- Service account permissions are not required for G Suite Migrate. Click Continue to skip this step.
- User permissions are not required for G Suite Migrate. Click Done to skip this step.
- Under Service Accounts, select the email address of the service account you created.
- Click Add KeyCreate new key.
- Make sure the key type is set to JSON and click Create.
You'll get a message that the service account JSON key file has been created and downloaded to your computer. Make a note of the name of this file because you’ll need it later.
- Click Close.
What happens next?
Service accounts can take up to 24 hours to propagate through large domains. If you lose the key, repeat these steps to create a new one.
Next, authorize the service account in the Google Admin console for your source domain. You must complete this step even if you are reusing a service account.
- In the Admin console, click SecurityAPI controls.
- Under Domain wide delegation, click Manage Domain Wide Delegation.
- On the Manage domain wide delegation page, click Add new.
Under Client ID, enter your service account's client ID.
You can find the service account client ID in the JSON file you downloaded when you created the service account. Alternatively, you can find the client ID in the Google Cloud Platform Console. Click IAM & AdminService accounts, then select your service account.
- In the OAuth scopes field, copy and paste the following scopes:
- Click Authorize.
To make sure every scope appears, select the new client ID and click View details.
If they don't, click Edit, enter the missing scopes, and click Authorize. Note that you can't edit the client ID.
Go back to the Google Cloud Platform Console and click Save.
Note: It might take some time for the authorization process to complete.
- In the G Suite Migrate platform, click New Connection.
- Under Name, enter a connection name.
- Under Type, select G Suite.
- Under Admin email, enter the email address of a super administrator for your source G Suite domain.
- Under Account, choose an option:
- Select an existing G Suite account, then move to step 8.
- Select Add a new account, then move to step 6.
- Locate the JSON key file for the Google service account on the source domain.
- Under Service certificate, click Upload file, navigate to the downloaded JSON private key, and click Open. Or, drag the JSON file to the box.
- Click Create.
Edit a connection (Optional)
- In the G Suite Migrate platform, click Connections. You might have to click Menu first.
- Point to the connection and click More Edit.
- Enter your changes and click Save.
Google, Google Workspace, 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.