# OneSignal integraton

&#x20;OneSignal is a high volume and reliable push notification service for websites and mobile applications. To know more about onesignal follow this link - <https://onesignal.com/>

![Add App Name](https://152426590-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LM6tq3bcjbx1YRVjcuR%2F-LNE1pihGRJsSDQc_XeY%2F-LNE2iKeReMBFnVfsFQd%2Fonesignal.PNG?alt=media\&token=8067d4f0-a2c4-4119-a690-48b6b2977277)

![Select Google Android(GCM)](https://152426590-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LM6tq3bcjbx1YRVjcuR%2F-LNE1pihGRJsSDQc_XeY%2F-LNE39T2EfPVRGQ7cdti%2Faddplartform.PNG?alt=media\&token=7b71c9aa-fba9-4316-ab03-1c502fe0764e)

![Generate Google Server API key](https://152426590-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LM6tq3bcjbx1YRVjcuR%2F-LNE1pihGRJsSDQc_XeY%2F-LNE3OMptiOX_eio_KAg%2Fapikey.PNG?alt=media\&token=22f4907b-fb9e-4086-b256-809181b2ff3c)

**Follow Firebase Steps** [https://documentation.onesignal.com/docs/generate-a-google server-api-key](https://documentation.onesignal.com/docs/generate-a-google-server-api-key)​

**Follow this link to configure onesignal in your app** <https://documentation.onesignal.com/docs/android-sdk-setup>

#### Place your OneSignal App ID in build.gradle(Module:app) file in the project <a href="#place-your-onesignal-app-id-in-build-gradle-module-app-file-in-the-project" id="place-your-onesignal-app-id-in-build-gradle-module-app-file-in-the-project"></a>

```
manifestPlaceholders = [onesignal_app_id : "751b7e28-731d-4721-94be-ae7fe7881d11",                        onesignal_google_project_number: "REMOTE"]
```

&#x20;Replace your generated google-service.json inside **App Directory in project**

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LI5tgjY4lPcmFwEaYT6%2F-LJcLHD1DhxV0WRHCw8j%2F-LJcNJK9Jeg39b9_LcS6%2Fimage.png?alt=media\&token=f2f9f414-a502-4331-bea3-f0a953b1017c)
