How to configure and manage alerts