Skip to main content
Google calls the connection a service account: a robot user that lives in your Google Cloud account. You create it, download its key file for Referly, and invite its email address into your Play Console. That invitation is what gives Referly access. This covers steps 5 and 6 of the Google Play part of the Publish step. Before you start
  • The first Android file is uploaded in Play Console. See Create your app in Play Console. Without it, Google answers that it has no app with your package name.
  • You’re the owner or an admin of the Play Console account.
  • Use the same Google account for Google Cloud and Play Console.
Google Cloud and Play Console are behind Google’s sign-in, so the Google-side steps are written out. The screenshots show the Referly side.

Create a service account

  1. Open Google Cloud Console. If you have no project yet, create one (for example play-publishing) from the project picker at the top and select it.
  2. Turn on the API Referly uses: open Google Play Android Developer API and select Enable.
  3. Open IAM & Admin → Service Accounts and select Create service account.
  4. Name: for example referly-publisher. Select Create and continue.
  5. Skip the optional access steps (Play Console grants the access, not Google Cloud) and select Done.

Download its key

  1. Select the new service account, open the Keys tab.
  2. Select Add key → Create new key, choose JSON, then Create. The key file downloads once.
Then in Referly, under Connect with a service account: Step 5 of the Google Play part in Referly with the Upload the .json key button and the Invite this email in Play Console panel listing the permissions
  1. Select Upload the .json key and choose the file.
  2. The service account’s email address appears under Invite this email in Play Console, with a Copy button.

Invite the service account in Play Console

  1. In Play Console, open Users and permissions from the menu on the left (it’s at account level, not inside your app).
  2. Select Invite new users and paste the service account’s email.
  3. On App permissions, select Add app, choose your app, and tick these permissions (also listed in Referly):
    • View app information (read-only)
    • Release to production, exclude devices, and use Play App Signing
    • Release apps to testing tracks
    • Manage testing tracks and edit tester lists
    • Manage store presence
  4. Select Apply, then Invite user. Service accounts don’t need to accept the invitation.

Upload the key and verify

Back in Referly, select Check. Referly asks Google Play to open your app with the key. When it works, the step shows Connected and turns green.
  • “Play Console has no app with this package name yet.” The first file isn’t uploaded, or it was uploaded with a different package name. See Upload the first file by hand.
  • “This service account has no access to the app.” The invitation is missing, is for another app, or lacks the permissions above. Google can also take a little while to apply a new invitation: wait a few minutes and select Check again.
  • “The service-account key is invalid.” Create a new JSON key for the same service account and upload it.

Copy the app signing fingerprint

Google signs your app with its own key (Play App Signing). Its fingerprint lets links to your affiliate portal open straight in the app on Android instead of the browser.
  1. In Play Console, open your app → Protected with Play → Play Store protection → Manage Play app signing.
  2. Under App signing key certificate, copy the SHA-256 certificate fingerprint. It looks like AB:CD:EF:… with 32 pairs. Don’t copy the upload key certificate further down the page.
Step 6 of the Google Play part in Referly with the SHA-256 certificate fingerprint field and its Save button
  1. Paste it into SHA-256 certificate fingerprint and select Save.
Referly adds it to your portal’s link settings (/.well-known/assetlinks.json). Phones check it when the app is installed. Next: Finish your Google Play page.
Last modified on November 27, 2026