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 set up and manage create a Google Cloud Project. Then, you’ll enable the Google Play Developer API directly from the Google Play Console, 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 owner 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 . 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. Set up a new API project

  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 API project. It is recommended to create a new API project for this. Following are the steps:

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

  2. Accept the Terms of Service.

  3. Click Create new project.

An API project is automatically generated and linked to your Google Play Console.

Detailed instructions for API on Google Developers website.

//play.vidyard.com/1zD63Tg5ZENKGUDS8DnnwJ.html

2. Creating a new Service Account to access API

Create a 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.

...

use a Google Cloud Project.

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

  2. Click IAM & Admin

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

  4. Click Create a Project from the Search Results

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

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

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

  8. Click Create

...

2. Enable the Google Play Android Developer API

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

  1. Go to the 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 to access the API 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"

...

You could leave the optional step to "grant user access to this service account." 

  • Once you’ve created the service account on the Google Cloud Platform, visit the Google Play Console and click Done.  Please

  • Click Continue

  • Skip 3. and Click Done

 Please note that clicking on 'X' instead of 'Done'

...

may result in the unsuccessful creation of a Service Account.

...

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. 

Note: If you have already finished the Google App Transfer Process and followed the steps to create a Key in the Google Cloud Platform, it is necessary to delete the same to adopt the keyless setup. Please read this Article

...

  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."

    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: 

    Under “Add Principals” enter

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

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

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

  7. For

    the same, please

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

    and click on "Save."

...

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. Go to the API Access page on the Google Play Console. (It is usually located in Settings>>Developer Account>> API Access)

  2. Find the newly created Service Account "ReadyEducationPublisher" and Click on "Grant Access."

  3. 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.

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

  1. 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.

...