If you want Staffbase to publish your app, you need to create a Google service account. The Google service account gives Staffbase’s automated publishing services access to the publishing interface of Google Play and keeps your app up to date in the Play Store.
To prepare automated publishing for your app in the Google Play Store follow these steps:
- Create the Google service account.
- Create a private key for the Google service account.
- Enable the Google Play Android Developer API for a New Google Cloud Service Account.
- Invite the Google service account you created to your Google Play Console.
Creating the Google Service Account
- You have all information regarding your service account
- Service account name
- Service account description
- In the Google Cloud Platform, navigate to Service Accounts.
The Service account page opens.
- Click Create Service Account.
The Create service account page opens.
- Fill in the details that your received from Staffbase Support for service account name, email, and service account description.
- Click Create and Continue.
- Under Grant this service account access to the project, click the dropdown menu to select the role.
The dropdown menu opens.
- In the menu, select Service Accounts > Service Account User and click Continue.
- Click Done.
The dialog closes and you are redirected to the overview of service accounts.
The Google service account for Staffbase is nearly set up. The service account now needs a private key.
Creating a Private Key for the Service Account
- In the Google Cloud Platform, navigate to the overview of the service accounts
- In the column Actions, open the 3-dot menu and select Create key.
A dialog to configure the key opens.
- Select JSON as the key type and click Create.
The JSON file is automatically downloaded to your computer. The file browser opens to select the storage location.
- In the file browser, click Save.
A confirmation message confirming that the private key was saved opens.
- Click Close on the confirmation message.
- Send the JSON key file to Staffbase in a secure way, for example, as a zip file with strong password protection.
The Google service account is now set up with a private key. To finalize the set up, add the key to your Google Play Console to grant Staffbase access to your app.
Enabling the Google Play Android Developer API for a New Google Cloud Service Account
- Sign in to your Google Cloud Console.
- Click the dropdown menu next to Google Cloud.
- Click New Project.
If you have an existing project that you want to use, skip to step 5.
- Provide the details and click Create.
- From the dropdown menu next to Google Cloud, select the project you created.
- From the Navigation menu, navigate to APIs & Services > Enabled APIs & services.
- Search for Google Play Android Developer API.
- Click Enable.
Inviting the Google Service Account to Your Google Play Console
- You already have the app profile in the Play Store. If you have not yet created an app profile for your new app, set it up first or reach out to firstname.lastname@example.org. Creating an app profile does not mean your app needs to be published and the details in the app profile can always be updated later.
- Return to the Google Play Console after setting up the Google Service Account in the Google Cloud Platform.
- Navigate to Settings > API access.
The newly added Google service account is listed under the section Service accounts.
- Click Grant access for the Google service account.
- Select the tab App permissions.
- Open the dropdown menu Add app and select your app.
- Click Apply.
The Permissions for your app open in a new dialog.
- Configure the App permissions if necessary and click Apply.
The permissions dialog closes and you return to the app permissions overview where your app is now listed.
- Select the tab Account permissions.
The permissions are displayed on the tab.
- Enable the following app and account permissions:
- Create, edit, and delete draft apps
- Release to production, exclude devices, and use app signing by Google Play
- Release apps to testing tracks
- Manage testing tracks and edit tester lists
- Manage store presence
- Click Invite user.
A confirmation dialog opens to send the invitation for the Google Service Account.
- Click Send Invitation.
An email is sent to finalize the setup of the Google service account.
The Google Service account now has the required permissions, and your app will be published with Staffbase’s automated publishing services.
Please sign in to leave a comment.