Service Account

Enable Nami to communicate with the Google Play Developer API on your behalf.

Nami simplifies your adoption of in-app purchases and subscriptions for apps published to Google Play. In doing so, Nami needs to communicate with Google's Play Developer API for purchase verification as well as retrieve product sku details.

This article documents how to generate Service Account credentials with Google Play that provide Nami the limited access needed to manage your app's purchases.

Create a Service Account

  1. Log in to Google Play Console.

  2. Navigate to Settings

610
  1. Navigate to API access under the Developer account section.
2498
  1. Enable API access for your account by linking your Google Play Android Developer project.
2498
  1. Under the Service Account section, click Create Service Account.
2686
  1. Click the Google API Console in the dialogue that pops up, which will open in a new window.
2686
  1. Ensure Google Play Android Developer is the current project in the Google API Console.
2686
  1. Click Create Service Account.
2686
  1. Fill in the Service account name and Service account description fields, then click Create.
2686
  1. Grant Service Account User for the Role , then click Continue.
2686
  1. Skip the Grant users access to this service account (optional) step and click Done.
1478
  1. Click back into the service account you just created.
1437
  1. Under Keys click on ADD KEY and then Create new key.
1429
  1. Make sure you select JSON and then click Create.
1429
  1. If prompted to allow downloads select yes and then click done to download the key.

  2. Confirm your new Service Account shows up in the list view, and has a green checkbox in the Status column.

2686
  1. Switch back to your Google Play Console window, and close the dialogue which will refresh the API Access page.

Your new Service Account should be listed.

2686
  1. Click Grant Access, and assign the Nami Service Account the following permissions:

Access Level

  • View app information

Financial Data

  • View financial data
  • Manage orders
3214
  1. You're almost done! Log in to Nami Control Center, click on App Settings, then the Platforms tab, and click the Edit button for your Google app platform.
2814
  1. Open the contents of the Service Account credentials JSON downloaded in step 12.

Paste the contents into the field labeled Service Account Credentials (.json) and click Update.

2814

You are all set!