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 Setup > API Access
- Click 'Learn how to create service accounts'
- 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:
- View app information
- View financial data
- Manage orders
Upload Credentials into Nami Settings
You're almost done! Log in to the Nami Control Center, and visit Settings > Store Credentials
Grab the Service Account credentials JSON downloaded in step 12.
Upload into the Service Account Credentials file upload and click 'Save'.
Updated 6 days ago