Skip to main content
All CollectionsBranded Apps
How to Create a Service Account Key for Managing Apps on the Play Store
How to Create a Service Account Key for Managing Apps on the Play Store

Create a service account key to let Swapcard manage your Play Store apps. Step-by-step guide for setup, API enabling, and permissions.

Updated over a month ago

To allow Swapcard to manage apps on your Play Store account, you'll need to create a service account key. This guide will walk you through the steps to create the project, enable APIs, create the key, and invite the service account to manage your Play Store apps.
โ€‹

Step 1: Create a Google Cloud Project

  1. Go to the Google Cloud Console:

  2. Create a New Project:

    • Click on the project drop-down at the top of the page.

    • Click on New Project.

    • Enter a name for your project (e.g., "Swapcard Play Store Management").

    • Select your billing account if prompted.

    • Click Create.

Step 2: Enable APIs

  1. Enable the Google Play Android Developer API:

    • In the Google Cloud Console, navigate to the APIs & Services > Library.

    • Search for "Google Play Android Developer API".

    • Click on Google Play Android Developer API and then click Enable.

Step 3: Create a Service Account

  1. Navigate to the Service Accounts Page:

    • In the Google Cloud Console, go to IAM & Admin > Service Accounts.

  2. Create a Service Account:

    • Click + Create Service Account.

    • Enter a service account name (e.g., "swapcard-service-account").

    • Click Create and Continue.

  3. Grant the Service Account Access to the Project:

    • Select the role Owner for the service account.

    • Click Continue and then Done.

Step 4: Create a Service Account Key

  1. Navigate to the Service Accounts Page:

    • In the Google Cloud Console, go to IAM & Admin > Service Accounts.

  2. Generate a Key:

    • Find your service account in the list.

    • Click on the three dots on the right side of the service account row and select Manage keys.

    • Click Add Key > Create New Key.

    • Select JSON and click Create.

    • The JSON key file will be downloaded automatically. Keep this file safe, as you will need it to configure access.

    • Upload JSON Key to Event Studio:

      • Go to Studio > Applications.

      • Click on the relevant app, then go to General > Mobile Settings.

      • Upload the Service Account JSON file in the dedicated input field.

  • Verify Permissions: Go back to the Google Play Console and ensure that the service account is listed under Users and Permissions with the Admin role.

Step 5: Invite the Service Account to the Play Store

  1. Go to the Google Play Console:

  2. Invite the Service Account:

    • Navigate to Settings > Users and permissions.

    • Click on Invite New User.

    • Enter the email address of the service account. This will be in the format <service-account-name>@<project-id>.iam.gserviceaccount.com.

    • Assign the role Admin.

    • Click Invite.

That's it! You've successfully created a service account key and invited it to manage your Play Store apps on behalf of Swapcard. If you have any questions or run into any issues, please contact our support team for assistance.

Did this answer your question?