Google Play: Private keys and permission setup

In order to deliver your application to Google Play you need to do two things:

  1. Create a service account with a private key in the .json format
  2. Set up the appropriate permissions from the Google Play Developer Console

Step 1: Create service account

  1. Open the Google Play Developers Console (you’ll need to log in if you haven’t done it already).
  2. In the left sidebar, click the SettingsAPI access: APIAPI
  3. Now click Create Service Account. A pop-up will appear: AccountAccount
  4. Open the Google API Console. Click the Create Service Account button: ConsoleConsole
  5. Enter the details and check Furnish a new private key. Make sure to select JSON as the key type: Private keyPrivate key
  6. Click the Create button to create the service account—the private key for the service account will be downloaded.

At this point the JSON private key has been downloaded to your computer (you’ll need to upload this file to Buddy in the next step). Make sure that you store the private key in a secure place as you won’t be able to retrieve it if it’s lost.

Step 2: Set up permissions

  1. Return to the Google Play Developer Console
  2. In the Service Accounts panel, find the account that you’ve just created and click Grant Access
  3. Here you can adjust permissions for the service account. Make sure to select Release manager in the Role dropdown PermissionsPermissions
  4. Click Add User when done.

Congratulations! You can now deploy your application to the Google Play store.