<p>I have installed Grafana in Kubernetes. I am trying to do everything automaticaly by scripts.  I am able to intall grafana, import datasouce and dashobards.  But i would like to also add a Notification channel to slack BUT not in web UI but somewhere in the config.  It there any possibiluty to do that?</p>

<p>Jakub</p>

<p>The easiest way for now to use Grafana API:</p>

<pre><code>POST /api/alert-notifications


{
  "name": "new alert notification",  //Required
  "type":  "email", //Required
  "isDefault": false,
  "sendReminder": false,
  "settings": {
    "addresses": "carl@grafana.com;dev@grafana.com"
  }
}
</code></pre>

<p>Docs <a href="http://docs.grafana.org/http_api/alerting/#get-alert-notifications" rel="nofollow noreferrer">http://docs.grafana.org/http_api/alerting/#get-alert-notifications</a></p>
