Beta This feature is currently in beta and may change in the future.
We're very much looking for input and feedback on this feature. You can either contact us directly, file an issue, or tweet at us.
Slack notifications are supported via webhooks. Webhooks are special URLs that Sourcegraph's Code Monitoring can call in order to send a message to a Slack channel when there are new search results for a query. In order to use Slack notifications, you must first create a Slack application in your organization's Slack workspace, add a webhook for a Slack channel within that application, and then configure a code monitor in Sourcegraph to use that webhook's URL.
- You must not have have the setting
experimentalFeatures.codeMonitoringWebHooks
disabled in your user, org, or global settings. - You must have permission to create apps inside of your organization's Slack workspace
- Navigate to https://api.slack.com/apps and sign in to your Slack account if necessary.
- Click on the "Create an app" button.
- Create your app "From scratch".
- Give your app a name and select the workplace you want notifications sent to.