Add a Google account
This section lists the steps needed to add a personal Google account or a Workspace account to RecoveryManager Plus and configure a backup schedule for your emails, contacts, events, and Google Drive data.
To add a Google account for the first time,
- Log into RecoveryManager Plus console as an administrator.
- Click the Account Configuration button located at the top-right corner of the screen.
- Select the Google Workspace tab.
- Select the type of account that you wish to add to RecoveryManager Plus.
- Personal account: Selecting this option will allow you to add a personal Google account to RecoveryManager Plus.
- Workspace account: Selecting this option will allow you to add a Google Workspace account to RecoveryManager Plus. Once added, you can configure a backup schedule for all users in the workspace.
- Adding a personal Google account
- Enter the email address of the user.
- In the Credentials JSON field, click the Browse button and select the appropriate file. To know how to create a Credentials JSON, click here.
- Click Configure to add the user account to RecoveryManager Plus.
- In the page that appears, allow RecoveryManager Plus to access the follwing information and click Allow.
- Read, compose, send, and permanently delete all your email from Gmail
- See, edit, create, and delete all of your Google Drive files
- See, edit, download, and permanently delete your contacts
- See, edit, share, and permanently delete all the calendars you can access using Google Calendar
- Adding a Workspace account
- Enter the email address of the administrator.
- Provide the Service Account ID.
- In the Service Key field, click the Browse button and select the appropriate file. To know how to create a service account and to generate the service key, click here.
- Click Configure to add the Workspace to RecoveryManager Plus.
Once you have added a Google account, you can view the following information.
- The name of the account.
- The number of users in the account.
- The status of the account and any actions to be performed.
Modify an existing Google account
Once you have added a Google account, you can modify/edit its details or delete it.
- To refresh an account and fetch the most recent configurations, click the icon located in the actions column of the account.
- To edit an existing account, click on the icon located in the action column of the desired account.
- To delete a Google Workspace account, click on the icon located in the action column of the desired account.
Creating the Credentials JSON file
To create the Credentials JSON file, follow the step listed below.
- Navigate to to https://console.cloud.google.com/ on your web browser and login with your Google account credentials.
- Create a new project with an easily identifiable name such as RecoveryManager Plus.
- In the search bar at the top of the page, search for and enable the following APIs.
- Gmail API
- People API
- Calendar API
- Google Drive API
- From the left tree, click OAuth Consent screen. In the User type field, select External and then click Create. Enter a name and click Save.
- Add your email address to the test users field.
- From the left tree, click Credentials, Click Create credentials at the top and then click OAuth client ID. Select Desktop app as the application type and then click Create.
- Once configured, the newly created credentials will be listed in the OAuth 2.0 Client IDs table.
- Click the icon to download the credentials JSON file and use it to add the Google account to RecoveryManager Plus.
Finding the service ID and service Key for a Google Workspace
To create a service account email,
- Navigate to https://console.developers.google.com on your web browser.
- Log in using your Google Workspace administrator account credentials.
- Create a new project with an easily identifiable name such as RecoveryManager Plus.
- In the search bar at the top of the page, search for and enable the following APIs.
- Gmail API
- People API
- Calendar API
- Google Drive API
- Admin SDK API
- In the left pane, click OAuth consent screen. In the User type field, choose Internal and then click Create. Enter an application name and click Save.
- In the left pane, click Credentials.
- In the right pane, click Create credentials button at the top and select Service account from the drop-down box.
- Enter name for your service account and provide a description and click Create.
- If necessary, grant this service account access to the project and grant users access to this service account and click Done.
- You will now be able to see the new service account that you created.
- The Service Account Email is mentioned in the Email column.
- Click on the email address of service account or click the against the created service account.
- Select Enable G Suite Domain-wide Delegation. Note down the Client ID which will be used in the later steps and the Email (Service account Email). Click ADD KEY and then click Create new key. Choose p12 and then click Create. Download the p12 file and click Save.
- GO to https://admin.google.com/ on your browser.
- From the list of controls displayed, select Security → Advanced settings from the list of options.
- Under Domain wide delegation, select Manage domain wide delegation. Click Add new.
- In Client ID field, enter the Client ID of the service account which you had copied in step 13. In the OAuth Scopes field, enter the following
- https://mail.google.com/
- https://www.googleapis.com/auth/contacts
- https://www.googleapis.com/auth/calendar
- https://www.googleapis.com/auth/drive
- https://www.googleapis.com/auth/admin.directory.user
- Open RecoveryManager Plus and use the administrator email, service account email, and the p12 file from step 13 to configure in RecoveryManager Plus.