# One Signal push notifications

From version 1.3 in the script we enable push notification for web and mobile apps.

For the setup guide you can follow one signal official [video tutorial](https://www.youtube.com/watch?v=lNv_3qq1sKs) or our step by step explanation.

Visit the [OneSignal official website](https://onesignal.com/).

Click on the **NEW APP/WEBSITE** button.

![](https://2886676663-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M15aAl8UGIPUvccCl0n%2F-M9TZsJtPMH193aeSE9k%2F-M9T_mZx2qt4xAdR0KWi%2FScreenshot.png?alt=media\&token=bb8a9f66-bd72-457f-b529-aeb685bcaeba)

Now enter your app name and select **Web Push**.

![](https://2886676663-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M15aAl8UGIPUvccCl0n%2F-M9TZsJtPMH193aeSE9k%2F-M9Ta3Kb6GnfFOzjugVB%2FScreenshot.png?alt=media\&token=f43030c5-28c4-4cdc-852b-0fbe81adda4f)

Next enter your **Site name**, **Site URL** and **upload or enter the default icon UR**L.

![](https://2886676663-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M15aAl8UGIPUvccCl0n%2F-M9TZsJtPMH193aeSE9k%2F-M9Tacvg5cHGsYs9QKVZ%2FScreenshot.png?alt=media\&token=ffb2ae1c-7007-4ded-9fad-0a29a942a03e)

Now after you finish with the Site Setup next step is Permission Prompt Setup.

Slide Prompt is added by default and you need to click on it for changing the configuration.

More information you will find on the video documentation about this part.

Next click on **ADD A PROMPT**.

![](https://2886676663-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M15aAl8UGIPUvccCl0n%2F-M9TZsJtPMH193aeSE9k%2F-M9TbXksLktXUy3JQo7c%2FScreenshot.png?alt=media\&token=b7dae270-84c9-44f9-b36c-bc51c154428e)

&#x20;Click on the **SUBSCRIPTION BELL** and customize the look in the options under that.

Also you can find more details about it in the video documentation.

![](https://2886676663-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M15aAl8UGIPUvccCl0n%2F-M9TZsJtPMH193aeSE9k%2F-M9TcBCF-wsTMWl7tU8S%2FScreenshot.png?alt=media\&token=e6b4d6a5-6678-4912-b5da-8071f822dc7d)

Next step is configuration on Welcome Notification.

Here you can change the **TITLE**, **MESSAGE** and **LINK**.

![](https://2886676663-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M15aAl8UGIPUvccCl0n%2F-M9TZsJtPMH193aeSE9k%2F-M9Tcwuak4w6GXwta6WZ%2FScreenshot.png?alt=media\&token=ef952388-e251-4892-ab6a-f10a479a4137)

After you finish with this click on the **Save** button and then **Finish**.

Now after you app is active you will need to get the credentials created in this app.

You will find this credentials in the **Keys & IDs** page.

![](https://2886676663-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M15aAl8UGIPUvccCl0n%2F-M9TZsJtPMH193aeSE9k%2F-M9TdhaJRsfHHFKIAegw%2FScreenshot.png?alt=media\&token=bdc071a7-fd48-4aec-a207-6496ef9ded14)

After you finish with the setup copy the credentials and add into .env file.

```
ONESIGNAL_APP_ID=
ONESIGNAL_REST_API_KEY=
```

