# Android Firebase configuration

## Get the Firebase **API key**

1. Create a [**Firebase project**](https://firebase.google.com/docs/cloud-messaging/android/client#create_a_firebase_project).

2. Open your [**Firebase Console**](https://console.firebase.google.com/) and choose the project you created.

<img src="/configure-project-configure-android-platform-1.webp" alt="Choosing a project in the Firebase Console"/>

3. Go to **Your Project** > **Project settings.**

<img src="/configure-project-configure-android-platform-2.webp" alt="Project settings"/>

4. In **Service accounts** tab, press **Generate new private key:**

<img src="/configure-project-configure-android-platform-3.webp" alt="Generating a new private key"/>

5. In the window opened, press **Generate key**. The JSON file will be downloaded.

<img src="/configure-project-configure-android-platform-4.webp" alt="Generating key"/>

6. Please verify that the API is enabled. If not, please enable it.

<Aside type="caution">
Make sure that you enabled FCM send API that provides a cross-platform messaging solution to reliably deliver messages at no cost.
</Aside>

1. Visit [https://console.cloud.google.com/apis/library/fcm.googleapis.com](https://console.cloud.google.com/apis/library/fcm.googleapis.com)
2. Select your project.
3. Press **Enable.**

<img src="/configure-project-configure-android-platform-5.webp" alt="API enabled"/>

## Configure Android in your Pushwoosh project

7. Go to your Pushwoosh project. Open **Settings → Configure platforms** and click **Connect** in the **Android** row.

<img src="/configure-project-configure-android-platform-6.webp" alt="Configure platforms page with Android row showing Connect among platform action buttons"/>

8. In **IMPORT FCM SERVICE ACCOUNT KEY**, upload the JSON private key you downloaded from your Firebase project settings.

<img src="/configure-project-configure-android-platform-7.webp" alt="Android Configuration form with Import FCM service account key field and Apply button"/>

9. Click **Apply**.

10. Now you can move on to [integrating the Pushwoosh SDK](/developer/pushwoosh-sdk/android-sdk/firebase-integration/integrate-pushwoosh-android-sdk/)