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
-
Log in to Google Play Console.
-
Navigate to Settings
- Navigate to API access under the Developer account section.
- Enable API access for your account by linking your Google Play Android Developer project.
- Under the Service Account section, click Create Service Account.
- Click the Google API Console in the dialogue that pops up, which will open in a new window.
- Ensure Google Play Android Developer is the current project in the Google API Console.
- Click Create Service Account.
- Fill in the Service account name and Service account description fields, then click Create.
- Grant Service Account User for the Role , then click Continue.
- Skip the Grant users access to this service account (optional) step and click Done.
- Click back into the service account you just created.
- Under Keys click on ADD KEY and then Create new key.
- Make sure you select JSON and then click Create.
-
If prompted to allow downloads select yes and then click done to download the key.
-
Confirm your new Service Account shows up in the list view, and has a green checkbox in the Status column.
- 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.
- Click Grant Access, and assign the Nami Service Account the following permissions:
Access Level
- View app information
Financial Data
- View financial data
- Manage orders
- 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.
- 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.
You are all set!
Updated over 4 years ago