Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

The At Ready Education we leverage tools like the Google Play Developer API is required to publish Campus App and perform app-management tasks for the Android version of the Campus App. This is done through creating a Service Account. This article’s purpose is to provide an overview of the Google Play Service Account Setup, and list instructions for your Google Play Developer Administrator to follow. You’ll see hyperlinks embedded in this article that point to Google Documentation for additional information. Please review Create a Google Play Account as it is a pre-requisite for this.

Overview:

To start using the Google Play Developer API for the Service Account, the first step is to create a Google Cloud Project. Then, then you’ll enable the Google Play Developer API for your Google Cloud Project, . This is followed by creating the Service Account and granting Admin access . Then granting ‘Service Token Creator’ permissions to Ready Education Teamfor that Service Account. And finally, granting the Service Account access in the Google Play Console. The Developer API configuration can only be managed by the Account Owner and any other Admins users of your Google Cloud Project with sufficient permissions, and Google Play Console access can only be managed by users of your Google Play Developer account who are specificall granted permissions to do so. Please review Create a Google Play Account as it is a pre-requisite for this. with sufficient permissions

The following instructions explain how to set up the Service Account:

  1. Create a Google Cloud Project & Enable the API

  2. Create a service account to access the API

  3. Grant Access to Ready Education's Service Account

  4. Grant Admin Access to the "ReadyEducationPublisher" Service Account

Table of Contents
stylenone

1. Create a Google Cloud Project

...

In order to access the Google Play Developer API, it is required to link your Google Play Console to an use a Google Cloud Project. It is recommended to create a new API project for this.

...

  1. Create a Google Cloud Project by going to https://console.cloud.google.com/

  2. Click Create or Select a Project

For further information on Google Cloud Projects, refer to Creating and managing projects.

...

  1. IAM & Admin

  2. In the top Search Bar enter: ‘New Project’

  3. Click Create a Project from the Search Results

  4. For ‘Project Name’ enter “Ready Education Project”

  5. For ‘Billing Account’, be sure to select an account you manage

  6. For ‘Organization’ be sure to select the organization for the Developer Account, i.e. your institution

  7. Click Create

...

2. Enable the Google Play Android Developer API

Once you have set up the Google Cloud Project, you need to enable the Google Play Developer API for this project.

To enable Google Play Developer API:

  1. Go to the Google Play Developer API APIs & Services page in Google Cloud Console.
    Use the url: https://console.cloud.google.com/projectselector2/apis/api/androidpublisher.googleapis.com/overview?supportedpurview=project

  2. For ‘Select a Recent Project’ - Click Ready Education Project

  3. Click Enable

...

...

3. Creating a new Service Account

...

Create a service account Service Account to access the API from a build server without providing your personal user credentials. Following are the steps:

...

Go to the API Access page on the Google Play Console.

...

Under Service Accounts, click Create Service Account.

...

by following these steps.

  1. Go back to the top left of the page and click on the Navigation Menu

  2. Go down & Click IAM & Admin

  3. Click Service Accounts on the drop down menu

  4. Click Create Service Account and follow the instructions on the page to create your service account. (This will open Google Cloud Platform in a new tab) 

  5. On the Google Cloud Platform Tab, Click on 'Create Service Account.'

  6. Under “Service account name,” enter “ReadyEducationPublisher.” 

  7. Under “Service account description,”

(tick) 1. Service Account Details

  • For ‘Service account name’, enter “ReadyEducationPublisher” 

  • For ‘Service account description’, enter “Service account to grant Ready Education access to publish app updates.

...

  • Click Create and Continue

(tick) 2. Grant this service account access to project (optional)

  • For ‘Service account name’, enter “ReadyEducationPublisher” 

  • For ‘Select a Role’, enter & select "Service Account User"

...

  • Click Continue

  • Skip 3. and Click Done

 Please note that clicking on 'X' instead of 'Done' might may result in the unsuccessful creation of a Service Account. The API Access page automatically refreshes, and your service account will be listed.

Detailed instructions for Service Account on Google Developer's Website

...

 

For Google Cloud’s documentation, please see Create Service Accounts

...

3. Grant Access to Ready Education's Service Account

Now that the Service Account "ReadyEducationPublisher" is created, proceed with the step to grant access to Ready Education's Service Account. 

  1. Go to the API Access page on the Google Play Console. (It is usually located in Settings > Developer Account > API Access)

  2. Find Click Service Accounts on the left hand menu

  3. Double Click on the direct link for the newly created Service Account named "ReadyEducationPublisher" and Click on "View in Google Cloud Platform."

  4. On the Google Cloud page, ensure to select "Service Accounts" on the left column. Click on the "ReadyEducationPublisher" service account and go to the "Permissions" tab. Under the Permissions tab, click on "Grant Access" and input the following information:

...

  1. Navigate to the top of the page and Click the "PERMISSIONS" Tab

  2. Navigate to the bottom of the page and Click “+👤GRANT ACCESS”

  3. For Add Principles, copy and paste the value: “re-gplay-sa-token-creator@pc-api-6190680001848518307-76.iam.gserviceaccount.com”, then click Enter

  4. For

...

  1. Assign Roles, enter & select "Service Account Token Creator" as the “Role

...

4. Grant "Admin" Access to ReadyEducationPublisher Service Account

Now that the Service Account "ReadyEducationPublisher" is created proceed with the step to Grant Access to the service account.

  1. On the page with permissions, ensure to select "Admin" at the Account Level so that Ready Education Team will have full permissions to publish and manage the Campus App. If it is required to have fewer permissions, please reach, please submit a request at Ready Education Help Center.

  2. Lastly, Click on Invite User and Send Invite to complete the process.

  3. Click Save

...

4. Share the Service Account Email with Ready Education

  1. Please share us the newly created service account email address produced with Ready Education.
    This can be sent directly to the Implementation Consultant you are working with, and/or Integrations@readyeducation.com

 

For further help with this process please submit a request at Ready Education Help Center.

...