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

Visit Discord to create webhook integration

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

Configure your webhook

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

kubectl create secret generic  notification-secret --from-file=POLYAXON_INTEGRATIONS_WEBHOOKS_DISCORD=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": "https://url1.com/services/FFFF$$$$$/FFFF$$$$$/FFFF$$$$$sktkeXUWiaifxIFFFF$$$$$"
  }
]

Add your Discord connection to Polyaxon notification connections

Now you can add your Discord’s webhook to the integrations’ section:

connections:
  - name: discord-connection1
    kind: discord
    secret:
      name: notification-secret

More automation with Zapier

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