# Stripe connector for Google Play Store* Automate recurring file imports from Google Play Store to Stripe. To set up an automated job for importing data and make sure that your Stripe products remain up-to-date, you can import files from the Google Play Store into the Stripe Data Management Platform. ## Before you begin Before you integrate, make sure that you have: 1. An active Google Cloud and Play Console account with access to the application files. 1. Admin account access to the Stripe Dashboard. 1. Enabled the APIs for Google Cloud Storage and Google Play Android Developer. 1. A service account on Google Cloud platform. The Data Connector uses this account to access your application’s financial reports. 1. The private key of your service account that’s saved securely. 1. The service account added under **Users and permissions** in Play Console. 1. The application’s package name (the URL below the app name in Play Console) and Google Cloud Storage URI. > #### Disclaimer > > Note: By using this Stripe Connector you warrant that you’ve obtained the requisite permissions, and provided the necessary notices and consents required, in order for you to use the Stripe Connector and to enable Stripe to provide you the Services. ## Enable the APIs To enable the necessary APIs: 1. Sign in to the [Google Cloud Console](https://console.cloud.google.com/), then select your project for the application in the top left corner. 1. Click **API and Services** > **Enabled APIs & services** in the left pane. 1. If the list on this page contains the **Cloud Storage API** and the **Google Play Android Developer API**, skip this step and [create a service account key](https://docs.stripe.com/stripe-data/import-external-data/connectors/google-play.md#generate-keys) instead. Otherwise, click **Enable APIs and Service**. 1. Search for **Play Store**, then select **Google Play Android Developer API**. 1. Click the **Enable** button. ## Set up a service account To create a service account: 1. Click **Credentials** under **APIs & Services** in the left pane. 1. Click **+ Create credentials** > **Service account**. 1. Enter a name and description for the service account. The Data Connector uses this account to access your application’s financial reports. 1. Add the **Storage Object Viewer** role from the **Role** dropdown, then click **Done**. ## Create service account keys After you create the service account, Google Cloud redirects you to the Credentials page. From this page: 1. Click the service account that you created. 1. On the Keys page, click **Add key** > **Create new key**. 1. Select **JSON**, then click **Create** to download a private key on your device. Make sure that you secure this private key. If you lose it, you must generate a new one because it’s the only copy of the private key. ## Integrate the service account in Play Console To integrate the service account on Play Console: 1. On the [Play Console page](https://play.google.com/console/), click **Users and permissions** in the left pane. 1. Click **Invite new user**. 1. Enter the email address of the service account you created. 1. Under **App permissions**, click **Add app**. 1. Select the app that you want to integrate with, then click **Apply**. 1. Select **View app information (read-only)**, **View financial data**, and **Manage orders and subscriptions**, then click **Apply**. 1. Click **Invite user** > **Send Invite**. ## Submit the service account credentials and app package name To submit the service account credentials and your app package name: 1. In the Google Play Store Console Dashboard, click **Copy Cloud Storage URI** to copy your Google Cloud Storage URI. The URI begins with `pubsite_prod_rev` (for example, `pubsite_prod_rev_01234567890987654321`). 1. Enter your App Package Name. This is the URL that appears under the app name in the Play Console. 1. Use the secure link that we provide to upload the Service Account Credentials JSON file. ## Configure the Stripe connector for Google Play Store To configure the Stripe connector for Google Play Store using Stripe: 1. Click **+ Set up connector** > **Google Play Store** in the [Connectors tab on the Data management page](https://dashboard.stripe.com/data-management/connectors). 1. Enter a name, then click **Next**. 1. Review the permissions, then click **Next**. 1. Upload your private key file to the **Private key** section. Then, enter the **App package name** and **Google Cloud Storage Bucket ID** [that you created for the service account](https://docs.stripe.com/stripe-data/import-external-data/connectors/google-play.md#generate-keys). 1. Click **Authenticate** to establish a connection. ## Maintain your Google Play Store connection After Stripe establishes your connection, it takes up to 24 hours for the first sync to begin showing your data in the Dashboard. After that, we fetch your data once a day. To monitor the health of your connection: 1. View the status and the latest sync details of your established connections in the [Data Management Connector Dashboard](https://dashboard.stripe.com/data-management/connectors). 1. Click the connector to manage an individual connection. You can edit the name, re-authenticate a broken connection, and delete a connection. \*Google Play is a trademark of Google LLC.