As a Studio or Enterprise customer with a Custom Branded App (CBA), you are required to set up Google Play Developer API access for your Google Play Developer Account.
This setup allows the ABC Trainerize Custom Branded App (CBA) Team to support the publishing and ongoing maintenance of your Android app, including future app updates.
As part of this process, you will generate a JSON file containing the credentials needed for API access.
Please note: this is NOT a required step and only to be actioned as instructed by the CBA Team.
Tip: We recommend using an incognito or private browser window to avoid switching between multiple Google accounts during this process.
Before you begin
Please ensure you have:
- Created and verified your Google Play Developer Account
- Access to the Google account associated with your business
- The necessary administrative permissions to complete the steps below
Step 1: Create a Google Cloud project
- Log in to Google Cloud Console
- Click on the project selector at the top of the page
- Select New Project
- Enter your branded app name as the project name and click Create
- Once your project has been created, ensure it is selected at the top of the page
If you already have a Google Cloud project dedicated to another app, you can use your existing project.
Step 2: Locate your API credentials
- In Google Cloud Console, open the navigation menu in the top-left corner
- Navigate to APIs & Services > Credentials
- Ensure your newly created project is selected at the top of the page
If the API is already enabled, proceed to the next step.
Step 3: Create and configure a service account
- In Google Cloud Console, click on the navigation menu in the top-left corner
- Navigate to IAM & Admin > Service Accounts
- Click + Create Service Account
- Enter your branded app name in the Service account name field
- Click Create and continue
- Under Grant this service account access to project, click Select a role
- Search for and select Service Account User
- Click Continue
- Under Grant users access to this service account, enter cbfa@trainerize.com in both of the following fields:
- Service account users role
- Service account admins role
- Click Done
- Locate your newly created service account and copy its email address. You will need this email address in the next step
Step 4: Grant access in Google Play Console
- Log in to your Google Play Console
- Navigate to Users and permissions
- Click Invite new users
- Enter the service account email address copied in Step 3
- Select the permissions specified by the CBA Team
- Click Invite user to complete the setup
Step 5: Generate your JSON file
- Return to Google Cloud Console
- Navigate to IAM & Admin > Service Accounts
- Locate the service account you created. You should now see a Service Account listed on the Credentials page under Service Accounts
- Click on the three dots under Actions
- Select Manage keys
- Click Add key > Create new key
- Select JSON as the key type
- Click Create
Your JSON file will automatically download to your computer.
Step 6: Complete your setup
Provide your JSON file to the CBA Team.
Once the team has confirmed that the credentials and permissions are configured correctly, your Google Play API setup is complete.
Please do not delete your Google Cloud project, service account, or associated credentials without first contacting the CBA Team, as doing so may impact our ability to maintain and update your Android app.
Having trouble generating your JSON file?
If you are unable to create a JSON file or receive a message indicating that service account key creation is disabled, your Google Cloud organization's security settings may be restricting this action.
Please contact your organization's Google Cloud administrator.