Client code to run alerta services