We have to configure OneSignal for sending push notification in our web
Follow the below steps
First of all , you have to create account in OneSignal.
After sign up , you have to configure it with your project & get the app_id and server key.
Go to public_html > www > your_web_project > config.php file and paste the one_signal_app_id and one_signal_server_key in it.