Google Play Console
Navigate to the integrations page for your app and select Google Play Store under the Distributions section on the page.
Tramline uses the official Play Developer API to connect to your Play Store account. For the integration to work, you'll need to create and upload a JSON key file to Tramline.
This integration can get a little cumbersome, so talk to us if you get confused at any step.
The full setup involves the following steps:
- Enable Google Play Developer APIs in Google Cloud Console
- Create a service account for Tramline in the linked Google Cloud project
- Invite the service account user to your Google Play Console
- Add appropriate permissions to the service account user in Google Play Console
- Upload service account JSON key to Tramline
Enable Google Play Developer APIsโ
These steps can only be done by a user who has write permissions to the Google Cloud Project associated with your Google Play Store app. If you only have read permissions, you will not be able to proceed.
- Login to Google Cloud Console.
- Ensure you have selected the correct project in the top left corner.
- Open the Google Play Android Developer API page.
- Click Enable to enable the API.
Create Service Accountโ
- Within Google Cloud Console, open the Service Accounts page.
- Select the project you want to use for Tramline.
- Click on the Create Service Account button on the top of the page.
- Give the service account an appropriate name, for e.g. "API access for Tramline".
- In the Grant this service account access to the project section, you must grant the "Service Account User" role to this service account. The list of roles is quite long so use the filter to find the right role, if you must.
- Ignore the Grant users access to this service account section and click Done to save the service account, which will bring you back to the list of service accounts.
- In the list, find the service account you've just created and open it.
- Take a note of the service account email address, which will be used later.
- Click on Keys at the top of the screen and then click Add Key to create a new key.
- In the key type selection dialog, pick JSON which will create and download a JSON key file.
Link the service account to Google Playโ
These steps can only be done by the owner of the Play Console account. If you're not the owner, you will not be able to proceed.
- Login as the owner of the developer account in Google Play Console.
- In the left sidebar of the homepage, go to Users and permissions.
- Click Invite new users under the kabab menu on the far right.
- In this Invite User form, use the email address of the service account you created earlier.
- In the app permissions section down below, click Add app, pick the correct app and then select a minimum of the following permissions:
Upload JSON key in Tramlineโ
Once you've properly setup things in both, Google Play Console and Google Cloud Console, all that is left to be done is upload the service account JSON key file into Tramline.
When you click Create after uploading the JSON key file, Tramline will verify that the integration is working correctly by checking for any releases or bundles with the bundle identifier that you would have specified while adding the app.