GuidesAPI Reference
Log In

Prodvana's Slack App allows you to receive notifications in your Slack channels

Connect Prodvana to your Slack Workspace

  1. Go to the "Integrations" page in Prodvana ("https://my-demo-organization.runprodvana.com/integrations")
470
  1. Find the "Slack" integration box and click "Connect Slack". Ensure you are logged into a Slack Workspace in your browser and that you have permission to add the integration.
  1. Click "Allow" to connect Prodvana to your Slack Workspace.

  1. Prodvana should now be connected to your Slack Workspace!

Configure Slack Notifications

  1. Ensure that the Prodvana Slack App is added to the Slack channel you'd like to send notifications to

  1. Run the following command to edit your application config.
    pvnctl applications edit <APPLICATION_NAME>

  2. Add the Slack channel to the config.

Slack supports two notification channels;

  • channel - all notifications will go to this channel
  • errorChannel - only error / failure notifications will go to this channel. Useful for alerting or oncall channels.
name: <application-name>
releaseChannels:
- name: staging
  runtimes:
  - runtime: test
- name: production
  runtimes:
  - runtime: test
notifications:
  slack:
    channel: <channel-name> # all notifications will go to this channel
    errorChannel: <channel-name> # (optional) only error notifications will go to this channel

That's it! You should start receiving notifications to the specified Slack channel.

Disabling Slack Notifications

If you have Slack notifications already set up for your application and you would like to disable them, remove the notification configuration from the application config.

  1. Run the following command to edit your application config.
    pvnctl applications edit <APPLICATION_NAME>

  2. Remove the notification config.

name: <application-name>
releaseChannels:
- name: staging
  runtimes:
  - runtime: test
- name: production
  runtimes:
  - runtime: test