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 a Google Cloud project.
- Create a Google service account.
- Copy the service account email.
- Enable the Google Play Android Developer API for a New Google Cloud Service Account.
- Create a private key for the Google service account.
- Invite the Google service account you created to your Google Play Console.
Creating a Google Cloud Project
- In Google Cloud Console, click the dropdown menu next to Google Cloud.
- Click New Project.
- Provide the details and click Create.
You have created a project.
Creating the Google Service Account
Prerequisite
- You have reached out to support@staffbase.com to request the format in which you need to provide service account details.
- Service account name
- Service account description
- In Google Cloud Console, from the dropdown menu next to Google Cloud, select the project you created.
- Navigate to IAM & Admin > Service Accounts.
The Service account page opens. - Click Create Service Account.
The Create service account page opens. - Provide the service account name and description in the format provided by Staffbase Support.
- 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.
Copying the Service Account Email Address
While creating the service account, an email address is automatically generated. You need to copy this email address in order to invite the service account you created to the Google Play Console.
- In Google Cloud Console, navigate to the Service accounts overview page.
- Copy the email for the account you want to invite to the Google Play Console.
You have copied the email that you will need to invite your service account to the Google Play Console.
Enabling the Google Play Android Developer API for a New Google Cloud Service Account
- In Google Cloud Console, 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.
Creating a Private Key for the Service Account
- In Google Cloud Console, navigate to the Service accounts overview.
- Under Actions, click the three-dot menu and select Create key.
The Keys page opens. - Click Add Key > Create New Key.
A dialog to configure the key opens.
- Select JSON as the key type and click Create.
For most browsers, the file is downloaded automatically. If it does not, save the JSON file to your computer.
The JSON file is automatically downloaded to your computer. - Send the JSON key file to Staffbase using a secure method.
Reach out to support@staffbase.com for secure file transfer options.
The Google service account is now set up with a private key. To finalize the setup, add the key to your Google Play Console to grant Staffbase access to your app.
Inviting the Google Service Account to Your Google Play Console
Prerequisites
- 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 support@staffbase.com. 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. - You have copied the email address from the Service accounts overview page.
- In Google Play Console, navigate to Users & permissions > Invite new users.
- In the Email address field, provide the service account’s email address.
- Under App permissions, click Add app and select your app.
- Under Account permissions, click Add app and select your app.
- Click Apply.
The Permissions for your app open in a new dialog. - Optionally, configure the App permissions and click Apply.
The permissions dialog closes and you return to the app permissions overview where your app is now listed. - Click Account permissions.
The permissions are displayed on the tab. - Enable the following app and account permissions:
Releases - 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
Store presence - 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.
Comments
0 comments
Please sign in to leave a comment.