Skip to content
This documentation applies to Codacy Self-hosted

For the latest updates and improvements, see the latest Cloud documentation instead.

Slack

After adding a repository, you may want to enable Slack integration. Codacy integrates with Slack by sending messages to a channel when new issues are found.

To enable the Slack integration access the Integrations tab of your repository Settings, click on "Add integration" and select "Slack" from the list.

Enabling Slack integration

Configuration

Incoming WebHook

To set up a new WebHook:

  1. Access the "Incoming WebHooks" page on the App Directory of your Slack account.
  2. Select the channel where you want to be notified and click "Add Incoming WebHooks Integration"
  3. Copy the generated URL and use it on Codacy.

  1. Save Settings on Slack

Channel

The name of the channel where the notifications will be sent. This value is optional and it will override the default channel of the WebHook.

After filling both fields you need to click the Save button and everything should be setup correctly. You can use the Test button to send a test notification to your Slack channel.

Refresh Codacy page to see the green light.

After configuring your Slack integration with your server settings, Codacy will start commenting on Slack whenever it finds new issues.

Slack test notification

Share your feedback 📢

Did this page help you?

Thanks for the feedback! Is there anything else you'd like to tell us about this page?

We're sorry to hear that. Please let us know what we can improve:

Alternatively, you can create a more detailed issue on our GitHub repository.

Thanks for helping improve the Codacy documentation.

If you have a question or need help please contact support@codacy.com.

Last modified January 14, 2022