# Firebase Credentials (optional)

Directions on how to generate a Firebase Server API key for sending silent push notifications for uninstall tracking to measure your campaign outcomes. These are optional and only needed if you want to track the uninstalls.

#### What is a Firebase Server Key?

A Firebase Server Key and Firebase Sender ID are required in order to send push notifications to Android mobile app devices.

#### Step 1 : Create A Firebase Project

Sending push Notifications would require a Firebase Project. If you don't have one click `Add project` and follow the directions to setup your project.

If you already have an FCM project, please move to step 2

<figure><img src="/files/KE5hQl8mfMlYygWY9MUT" alt=""><figcaption></figcaption></figure>

#### Step 2 : Getting Your Firebase Cloud Messaging Token And Sender ID

Click the gear icon in the top left and select Project settings.

Select the Cloud Messaging tab.

Refresh the page on your Firebase Console and copy your Server key and Sender ID.

<figure><img src="/files/G6PeGw5OTpYcCLPLJvI1" alt=""><figcaption></figcaption></figure>

#### Step 3 : Configure Your Apxor Android Platform Settings

<figure><img src="/files/s1FgjkZuQzDC5QnNESSl" alt=""><figcaption></figcaption></figure>

#### Step 4 : Setting up uninstall tracking on Apxor

Please ensure to follow the [uninstall tracking steps here](/getting-started-with-apxor/sdk/android-x.md#enable-uninstall-tracking-for-your-users-optional) based on your firebase version during integration.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guides.apxor.com/getting-started-with-apxor/firebase-credentials-optional.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
