> ## Documentation Index
> Fetch the complete documentation index at: https://docs.notifique.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure Android

> How to add notification code to your Android app.

<Tip>
  Once Firebase is set in the dashboard, you just **paste a bit of code** in the app, like plugging in the intercom after the doorman is registered.
</Tip>

## In a few words

1. Set up Google (Firebase) in the Notifique dashboard
2. Install the Notifique library in the app
3. Call `init` with your Push App ID
4. Done, the phone can receive alerts

## Before you start

If Firebase isn’t in the dashboard yet:

→ [Android credentials (Firebase)](/en/push-api/integracao/credenciais-android)

You’ll need the **appId** (on the Push App screen) and `google-services.json` in the project (from Firebase).

## Step 1: Install the library

In the Android dependencies file, add:

```kotlin theme={null}
implementation("dev.notifique:push:0.1.0")
```

If you’re not sure where, share this with your developer.

## Step 2: Start in the app

When the app opens (usually in the `Application` class):

```kotlin theme={null}
NotifiquePush.init(
  context = applicationContext,
  appId = "YOUR_APP_ID",
)
```

Replace `YOUR_APP_ID` with the ID from the Notifique dashboard.

The app will ask for notification permission (Android 13+) and register itself.

<Note>
  Don’t put API keys (`sk_live_...`) in the app. Only the public `appId`.
</Note>

## Step 3: Test

1. Install on an Android phone
2. Open the app and accept notifications if asked
3. Send a test push from the Notifique dashboard

## Checklist

* [ ] Firebase configured in ⚙️ dashboard
* [ ] Package name matches in Firebase and Notifique
* [ ] `google-services.json` in project
* [ ] `init` code with correct `appId`
* [ ] Test sent from dashboard

## Next steps

* [Firebase credentials](/en/push-api/integracao/credenciais-android)
* [iPhone](/en/push-api/integracao/ios)
* [All guides](/en/push-api/integracao/index)
