# Connecting a Google service account to Bitrise

You can connect a Google Console Service account to a Workspace. The service account will be available to use for all the projects owned by that Workspace. It allows you to seamlessly deploy your Android apps to Google Play with [Release Management](/release-management).

You can add multiple service accounts to a Workspace but a Bitrise project can only have a single service account connected to it at any given time. However, you can change the connected account at any time.

## Connecting a Google service account to a Workspace

To create a new service account and link it to a Bitrise Workspace:

1. Set up a Google Play service account in Google Play console: [Using a service account](https://developers.google.com/android-publisher/getting_started#service-account).
1. Grant the necessary rights to the service account with your [Google Play Console](https://play.google.com/apps/publish). Go to **Settings**, then **Users & permissions**, then **Invite new user**. Due to the way the Google Play Publisher API works, you have to grant at least the following permissions to the service account:

   - Access level: View app information.
   - Release management: Manage production releases, manage testing track releases.
   - Store presence: Edit store listing, pricing & distribution.
1. Create a JSON key for the service account: [Create a service account key](https://cloud.google.com/iam/docs/keys-create-delete#creating).
1. 1. Log in to Bitrise and hover over the left navigation bar.
1. Make sure you have the right workspace selected in the **Workspace** menu.
1. Select **Settings**.
1. On the left, select **Integrations**.
1. Find and click **Google Play**.

   ![google-service-account_png.png](/img/_paligo/uuid-86e5dd1c-f147-0a08-49bb-da4f53b9a960.png)
1. Click **Add service account**.
1. Type a name in the **Name** field.
1. In the **Credentials** section, drag and drop your JSON key file or click **Upload a JSON file** to upload it from your computer.

   ![add-json-file.png](/img/_paligo/uuid-48a9ebfc-c07d-81f3-7b87-09f6fdcc1794.png)
1. Once done, click **Add account**.

## Connecting a Google service account to a project

To configure a Bitrise project to use a given Google Play Console service account:

1. 1. Open your project on Bitrise with a user that has the **Admin** [role on the project](/bitrise-platform/projects/roles-and-permissions-for-bitrise-ci), or a [custom role](/bitrise-platform/workspaces/collaboration-and-permissions-in-workspaces/custom-roles/custom-roles-overview) with the **Edit workflows** permission.
1. On the main page of the project, click on the **Project settings** button.
1. On the left, select the **Integrations** menu option.
1. Go to the **Stores** tab.
1. Find the **Google Play Store** section.
1. Click the **Select...** button.

   ![select-button.png](/img/_paligo/uuid-d9ad5624-810e-4fbf-507a-f900e03620e5.png)
1. In the pop-up window, select an account from the dropdown menu labeled with **Select an account**.

   ![attach-service-account.png](/img/_paligo/uuid-f8d70389-5398-fa2c-3a98-db70ffa63853.png)
1. Click **Save**.
