Create a New Project

Using the "Aeries Service" account you just created, login to the Google API Console and click on Projects in the menu to the left, and then click the Create Project button.

Name Your Project

We suggest naming your project "Aeries Integration" or something similar so it is easy to identify.

Select Your New Project and Enable API

Select that newly created project from the drop-down if it is not already selected. You should be taken to the API Library (if not, click Library on the left-hand navigation under APIs & Services). First, use the search box to search for "Admin SDK". After searching, click Admin SDK, then Enable. For Google Classroom integration, go back to the Library and repeat these steps to enable the Google Classroom API.

Create New Credentials

You will now create a set of credentials that will be tied to the Aeries Service user you created at the beginning of this process. This information will be copied and pasted into Aeries later in the setup.

Click on the Credentials node on the left-hand menu. 

Next, click on the Create Credentials button and select Service Account Key.

Select New Service Account from the drop down, give your account a recognizable name such as “Aeries Service Account”, and select P12 for the key type.  Select Project->Owner for the Role. When you click Create, a P12 file will automatically download.  This is the only time Google will issue this particular P12 file. If it’s lost, a new file with a new key will have to be generated.

This is a very important file.  You must place this in the AppSettings folder for each instance of Aeries on your web server and in the Service folder of your Aeries Reporting Server.  Without this file, you will not be able to connect to Google successfully.
You don't need to worry about the private key password.  It is the same for everyone in the world.  The file you just downloaded is the super-secret file that distinguishes your account from everyone else in the world.

Click Manage Service Accounts, then click the ⋮ icon (vertical dots) to the under the Actions column. Next, select Edit, then click Show Domain-Wide Delegation to expand that section. Next, check Enable G Suite Domain-wide Delegation. Finally, click Save. This will create a Client ID.

Keep these credentials

Click View Client ID on your Service Account and keep this tab open as you will need the Client ID and Service account email address later in this setup.