Android 9: How do I deactivate sounds from apps such as WhatsApp, but let the alarm and the phone stay on 100%?

Android 9: How do I deactivate sounds from apps such as WhatsApp, but let the alarm and the phone stay on 100%?

I only want alarm and calls to be activated.

Thank you!