Skip to content
Get Started

Google Play

In FirstLook you’re able to integrate Google Play as part of the onboarding experience for players.

Integrate your Google Play Account with FirstLook

Section titled “Integrate your Google Play Account with FirstLook”

To connect your Google Play closed test with FirstLook, you primarily need to retrieve the Join URL (also known as the Opt-in URL) from your Google Play Console. This link allows authorized testers to accept your invitation and download the game from the Play Store.

  1. Sign in to the Google Play Console.
  2. Select your app from the list.
  3. In the left sidebar, navigate to Test and release > Closed testing.
  4. Find the track you wish to use (e.g., “Alpha”) and click Manage track.
  5. Select the Testers tab.
  6. Scroll down to the “How testers join your test” section.
  7. Click Copy link next to the Web URL.

Google Play

If you are using a new personal developer account, Google requires a mandatory testing period before you can apply for Production access:

  • Minimum Testers: You must have at least 20 testers opted into your closed test.
  • Testing Duration: These testers must remain opted-in and use your app for at least 14 days continuously.

FirstLook helps you meet these requirements by automating the collection of tester emails and providing them with your Join Link immediately after they complete your onboarding process.

If you are using the Unity SDK to authenticate players directly from your game client, you need to configure an OAuth 2.0 client ID so FirstLook can verify Google ID tokens.

Create an OAuth 2.0 Client ID in Google Cloud Console

Section titled “Create an OAuth 2.0 Client ID in Google Cloud Console”
  1. Go to Google Cloud Console and open your project (or create one).
  2. Navigate to APIs & Services > Credentials.
  3. Click Create Credentials > OAuth 2.0 Client ID.
  4. Select Web application as the application type.
    • This is the client ID that FirstLook uses to verify ID tokens on the server side. Do not use an Android client ID here.
  5. Give it a name (e.g. “FirstLook Token Verification”) and click Create.
  6. Copy the client ID (it looks like 123456789-abcdefg.apps.googleusercontent.com).

Register Your Android App (Required for Google Sign-In on Android)

Section titled “Register Your Android App (Required for Google Sign-In on Android)”

For Google Sign-In to work on Android builds, you must also register your app as an Android OAuth client so Google can validate the sign-in request:

  1. In APIs & Services > Credentials, click Create Credentials > OAuth 2.0 Client ID again.
  2. Select Android as the application type.
  3. Enter your app’s package name (e.g. com.yourcompany.yourgame) and the SHA-1 certificate fingerprint of your signing key.
    • To get your debug SHA-1: keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
    • For release builds, use the SHA-1 from your release keystore.
  4. Click Create. You do not need to add this Android client ID to FirstLook — it is only needed so Google accepts sign-in requests from your app.
  1. In your FirstLook dashboard, go to Config > Google Play.
  2. Add the Web application client ID you created above to the allowed list.
  3. Click Save.

The client ID you configure in your Google Sign-In library and the client ID in the FirstLook dashboard must match. See the Unity SDK Setup guide for how to pass the ID token to the SDK.

Now that you have the necessary details to complete the integration, there are a few steps to have this properly working in FirstLook.

  1. Google Play can be toggled on here to allow players to connect their accounts during sign-up and onboarding.
  2. Players will need to be manually uploaded to the Google Play Console. To do so, navigate to your Closed testing track, click on the ‘Testers’ tab and upload your FirstLook players via CSV.
  3. Create a new key type which can be distributed to players to grant them access. This can be done from the ‘Keys & Access’ tab.
    • The URL created earlier can be added here.

Key Setup

Google Play Upload