usually with Capacitor the "policy" is that the plugin itself is responsible for requesting permissions. So, if you’re using a notifications plugin, it should handle the permission request automatically.
If it doesn’t, or if you’re developing a feature locally and need to handle permissions yourself, you can use this plugin: https://github.com/Y-Smirnov/capacitor-native-permissions