How to Create a Google Service Account for Google Play Subscriptions
Why do I need a Google Service Account?
To ensure that subscriptions purchased via Google Play renew automatically, you need to create a Google Service Account.
This also allows us to obtain the necessary permissions to perform app updates on your behalf.
To make the setup process as easy as possible, each step includes a visual reference (screenshot).
Step 1 – Google Cloud Console
- Log in to the Google Cloud Console using the provided link.
- Create a new project:
- Click the dropdown menu in the top-left corner
- Select “New Project”
- Enter the project details:
- Project name: Choose a suitable name
- Organization: Enter your company name
- If only “No organization” is available, select it
- If prompted for billing, choose “My billing account”
Step 2 – Create a Service Account
- Open the menu (top-left hamburger icon)
- Navigate to:
Service Accounts → Create Service Account - Enter the following details:
-
Service account name:
PressMatrix Services
-
Service account name:
- Click “Create and Continue”
- Assign the role:
- Basic → Service Account User (Owner)
- Click “Done”
Step 3 – Enable APIs
- Open the menu and go to:
APIs & Services → Library
- Search for:
Google Play Android Developer API
- Select the API and click “Enable”
- Go back to the library and search for:
Firebase Management API - Select it and click “Enable”
Step 4 – Create a Private Key
- Go to:
IAM & Admin → Service Accounts - Find your service account
- Click the three dots (⋮) and select “Manage keys”
- Click:
Add Key → Create new key
- Select:
- JSON (JavaScript Object Notation)
- Click “Create”
- The key file will be automatically downloaded to your computer
Step 5 – Invite User in Google Play Console
- Open the Google Play Console
- Navigate to:
Users and Permissions - Click “Invite new user”
- Go back to the Google Cloud Console
- Copy the email address of your service account
(it should start withpressmatrix-services)
- Return to the Google Play Console and paste the email:
- Under User details → Email address
- Set permissions:
- Account permissions → Administrator (all permissions)
This is required so we can continue updating your app.
Final Step
Please send the following to:
- The service account email address
- The downloaded JSON key file
What happens next?
We will securely store your credentials in our system and activate automatic subscription renewals for your app.
Comments
Please sign in to leave a comment.