Notify Mattermost when an experiment, a job, or a build is finished so that your team stays in sync.

Visit Mattermost to create webhook integration

First, you'll need to set up a new incoming webhook in your team's Mattermost configuration. An incoming webhook is a method for Mattermost to receive incoming messages to be posted to your Mattermost team from external services.

Configure your webhook

Create a secret or a config map with your Mattermost webhook:

kubectl create secret generic  notification-secret --from-file=POLYAXON_INTEGRATIONS_WEBHOOKS_MATTERMOST=notification-secret.json -n polyaxon

The content of notification-secret.json should contain all the webhooks that you want to notify at the same time:

[
  {
    "url": "url1"
  }
]

Add your Mattermost connection to Polyaxon notification connections

Now you can add your Mattermost's webhook to the integrations' section:

notificationConnections:
  - name: mattermost-connection1
    kind: mattermost
    secret:
      name: notification-secret

More automation with Zapier

You can also go further and connect other popular Polyaxon integrations to Mattermost using Zapier.