Create a private key and setup permissions

To deploy builds to Google Play, the first stage of the process is to create a service account with a JSON-formatted private key (.json) and setup the appropriate permissions from the Google Play Developer Console.

Lets get started!

  1. Open the Google Play Developers Console

    If you are not already logged into a Google application, the login dialog appears:

    The Google login dialog

    Log in with your email address and password.

    The Developer Console screen is displayed:

    The Google Play Developer Console Screen

  2. The Settings button In the left navigation area, click the Settings button. The Settings screen is displayed:

    The Settings screen

  3. The API access button In the left navigation area, click the API access button. The API access screen is displayed:

    The API access screen

  4. The Create Service Account button Scroll down to the Service Accounts panel, then click the Create Service Account button. The Create Service Account dialog is displayed:

    The Create Service Account dialog

  5. The Google API Console link Click the Google API Console link. In a new tab (or window), the Google API Console is displayed:

    The Google API Console screen

  6. The Create Service Account button Click the Create Service Account button. The Create service account dialog is displayed.

    The Create service account dialog

  7. In the Service account name field, specify the name for this service account.

  8. In the Role dropdown, select an appropriate role for this service account.

  9. Check the Furnish a new private key checkbox. The dialog expands:

    The expanded Create service account dialog

  10. Make sure that the key type field has JSON selected.

  11. The Create button Click the Create button to create the service account. The private key for the service account downloads, and the Service account created dialog is displayed:

    The Service account created dialog.

    Important

    At this point the JSON private key has been downloaded to your computer

    You need to upload this file to buddybuild in the next stage.

    Make sure that you store the private key in a secure place. If the private key is deleted or otherwise lost, you cannot retrieve it.

  12. Return to the Google Play Developer Console. Find it in the original browser window or tab.

  13. The Grant Access button Find the just-created service account in the Service Accounts panel, and click the Grant Access button in the same row. The Add a new user dialog is displayed:

    The Add a new user dialog

  14. Adjust permissions for the service account as you see fit. Make sure that the Role dropdown has Release manager selected.

  15. The Add User button Click the Add User button.

That’s it for stage 1! The next stage is to set up buddybuild to automatically deploy to Google Play.

results matching ""

    No results matching ""