Skip to content
Docs
Documentation/Implementation/Store Configuration
Store Configuration

Google Play service account

Create a service account in Google Cloud, give it access to your app in Play Console, then upload its JSON key in Aplyna.

On this page Set up the service accountCan’t create a JSON key?Keep the key safe

Set up the service account

  1. Enable the Google Play API. Choose or create a Google Cloud project. Open APIs & Services → Library, search for Google Play Android Developer API, and enable it in that project.
  2. Create a service account. In the same project, open IAM & Admin → Service Accounts → Create service account. Enter a name, such as Aplyna, and finish creating the account. Copy its email address. Cloud IAM roles do not grant access to your Play app.
  3. Give it access to your Play app. In Play Console, open Users and permissions → Invite new users. Enter the service account’s email. Under App permissions, add the app you are connecting and enable View app information (read-only). Keep access limited to this app.
  4. Set the billing permissions. Under Financial data, enable View financial data and Manage orders and subscriptions for the selected app. Save the app permissions, then invite the service account from the invitation form.
  5. Download the JSON key. Back in Google Cloud → IAM & Admin → Service Accounts, select the account’s email. Open Keys → Add key → Create new key, choose JSON, and create the key. Google downloads the file once; keep it outside your repository and mobile app.
  6. Connect it in Aplyna. Return to the Google Play app form in Aplyna, check the package name, upload the downloaded JSON file, and choose Save & validate connection. Aplyna checks access to that app; the result appears in its connection status.

Can’t create a JSON key?

Your Google Cloud organization may block service-account key creation. Ask its administrator about an approved credential setup.

Keep the key safe

  • Give the service account access to this app only.
  • Keep the JSON file out of your repository and your mobile app.
  • Apple credentials cannot be reused for Google Play.