Prerequisites
- A Google Play Developer account with the Admin (all permissions) role.
- A Google Cloud account (any Google account works — no billing required for this flow).
- Your Rey app ready to publish. See App Stores for the full submission overview.
Step 1: Create a Google Cloud project
Open the Google Cloud Console
Go to the Google Cloud Console.
Create a new project
Click the project selector in the top bar, then New Project. Name it something recognizable like
rey-play-publishing and click Create.Step 2: Enable the Google Play Android Developer API
Step 3: Create the service account
Create a service account
Click Create Service Account. Give it a descriptive name like
rey-play-publisher and click Create and Continue.Step 4: Create and download a JSON key
Step 5: Grant the service account access in Google Play Console
Open the Play Console
Go to the Google Play Console and select your developer account.
Open Users and permissions
In the left sidebar, click Users and permissions, then click Invite new users.
Enter the service account email
Paste the service account email (it looks like
rey-play-publisher@your-project.iam.gserviceaccount.com). You can find it back in the Cloud Console service accounts list.Grant account permissions
Under Account permissions, enable at minimum:
- View app information and download bulk reports
- Manage production releases
- Manage testing track releases
- Manage store presence
- Edit and delete draft apps
- Release apps to testing tracks
- Release to production, exclude devices, and use Play App Signing
Step 6: Upload the JSON key to Rey
Open Publish settings
In the Rey editor, click Publish in the toolbar and select Google Play as the target.
Connect your Google Play account
In the Google Play Developer account section, click Upload service account key.
Select your JSON file
Choose the JSON key file you downloaded in Step 4. Rey validates the file and confirms the connection.
Troubleshooting
Rey says the key is invalid
Rey says the key is invalid
Make sure you uploaded the JSON key (not a P12) and that the Google Play Android Developer API is enabled in the same Cloud project that owns the service account.
Submission fails with a permission error
Submission fails with a permission error
The service account is missing a required Play Console permission. Return to Users and permissions in the Play Console and confirm every permission listed in Step 5 is enabled for the service account.
I can't find the service account email
I can't find the service account email
In the Cloud Console, go to IAM & Admin → Service Accounts and select your project. The email is listed next to each account and always ends in
.iam.gserviceaccount.com.Next Steps
- Return to App Stores to complete your Google Play submission.
- Preview your app on a real device first with Device Preview.