> For the complete documentation index, see [llms.txt](https://docs.buildnatively.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.buildnatively.com/hidden-pages/setup-one-signal-app.md).

# Setup One Signal App

{% hint style="warning" %}
This page is no longer being updated. Please refer to our [Push Notifications - OneSignal](/natively-platform/features/notifications/onesignal-push-notifications.md) for current configurations and support.
{% endhint %}

{% hint style="warning" %}
If you have 2 apps (iOS and Android) for 1 website, you need 1 OneSignal application with 2 platforms enabled.
{% endhint %}

## Android 🤖

### Prerequisites

* A [Firebase account](https://firebase.google.com/)
* A [OneSignal Account](https://onesignal.com/), if you do not already have one.

### Push Notification Setup for Android

1. [Generate a Google Server API Key](https://documentation.onesignal.com/docs/generate-a-google-server-api-key)
2. [Add Android to the OneSignal app target SDK](https://documentation.onesignal.com/docs/mobile-sdk-setup#android)
3. Add *OneSignal App Id* to the [Push Notification](https://documentation.onesignal.com/docs/mobile-sdk-setup#android) section on the Native Feature step

## iOS 🍏

### Prerequisites

* **Apple .p8 Auth Key + Key ID + Team ID + Bundle ID.** \
  Please use the [following guide](/hidden-pages/generate-ios-push-key.md) to do that.
* Create [One Signal Account](https://dashboard.onesignal.com/signup).

### Create App (App ID)

* Open One Signal's [**Apps Dashboard**](https://app.onesignal.com/apps)
* Click **New App/Website**
* Enter the name of your app in **Name of your app or website** field
* Select **Apple iOS (APNs)**
* Click **Next**
* **Select .p8 Auth Key**

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

* Upload the .p8 key you've created, and enter a [Team ID, Key ID, and Bundle ID](/hidden-pages/generate-ios-push-key.md#gather-all-required-data).&#x20;
* Click **Save & Continue**
* Select target SDK **Native iOS** and click **Save & Continue**
* Copy your **App ID** and click **Done**

{% hint style="warning" %}
IMPORTANT For iOS. We don't support p12 files anymore! Please use p8 key instead!
{% endhint %}
