Rancher 2.2 Alpha 6 automate alerts, notification set up

Is there a way to automate set up alert, notification via CLI or load and yaml file. Anyone has done API to automate the configuration?