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.
In your Google Developer Console, set up the account first and then add your app.
Preparing To Set up the Service Account
Before you can set up the Google service account, you need some information from Staffbase.
- Reach out to email@example.com and request the following details:
- Service account name
- Service account description
Creating the Google Service Account
- Go to the Google Play Console.
- Navigate to Settings > Developer Account > API access.
- Select Create new project and then click Link project.
- Click Create new service Account.
A dialog explaining the steps for creating the account opens.
- In the dialog, click the link to the Google Cloud Platform.
The Google Cloud Platform opens.
- Click Create service account.
- Fill in the details that Staffbase provided for service account name, email, and service account description.
- Click Create.
- Go to the step Grant this service account access to the project.
- Click in the field Select a role. From the filter that opens, select Service Accounts > Service Account User. Then click Continue.
- Click Done.
The dialog closes and you return 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.
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.
The newly added Google service account is listed under the section Service accounts.
The Permissions for your app open in a new dialog.
The permissions dialog closes and you return to the app permissions overview where your app is now listed.
The permissions are displayed on the tab.
A confirmation dialog opens to send the invitation for the Google Service Account.
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.