Experimental This feature is experimental and might change or be removed in the future. We've released it as an experimental feature to provide a preview of functionality we're working on.
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 have the experimental feature flag
experimentalFeatures.codeMonitoringWebHooks
set totrue
in your Sourcegraph 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.