Add a domain
To enable push notifications on your website, you should first register a domain. In your PushPro portal, navigate to Domains and click “Create new domain”. You can now enter a name to recognize your domain and the URL of your domain. Click save to confirm your domain. You can now further configure your domain.
![Screenshot of domain dashboard in the PushPro portal](https://assets-global.website-files.com/5ccaeaeeb7202a60482bfff7/601cfd83d73d75e8875ff95f_Screenshot%202021-02-05%20at%2009.10.28.png)
Verify your setup
You can verify if you set everything up correctly by navigating to https://yourdomain.com/. If you see a push notification opt-in request, everything is working! That’s all, your website is now ready to send push notifications!
If you do not see an opt-in request, you can check whether the code snippet and javascript file were correctly added. Navigate to https://yourdomain.com/sw.js. Here you should find the following text:
importScripts('https://storage.googleapis.com/push-pro-java-scripts/pushpro-sw.js');
Next up, you can verify whether you correctly added the code snippet. On https://yourdomain.com/, right-click anywhere on the website and select “Page Source”. Here, you should find the following text:
<script></script>
window.__pushpro = {
site_uuid: "your-unique-identifier",
}
https://storage.googleapis.com/push-pro-java-scripts/pushpro-lib.js">