# Slack Notification

Slack webhook notifications allow you to receive real-time incident alerts and data from yCrash Server directly to your Slack channel. This documentation guides you through configuring Slack webhook notifications and understanding the payload format.

Note

This feature is available only for logs uploaded through the yc-360 script (On-Demand Mode or Micro Metrics Monitoring Mode). It is not supported for manual uploads.

Please follow the steps to integrate yCrash with Slack webhook:

# Step 1: Configure "Incoming Webhooks" in your Slack Channel

  1. Visit the Slack Webhooks (opens new window) page and click on the "Create your Slack app" button.
  1. In the popup modal, choose an option to create the app. For example, select "From scratch" option.
  1. Enter your desired app name, select the workspace, and click the "Create App" button.
  1. After app creation, navigate to the "Incoming Webhooks" section and activate incoming webhooks.
  1. Scroll further down to the "Webhook URLs for Your Workspace" section and click "Add New Webhook to Workspace".
  1. Choose the channel you want to link and click "Allow".
  1. Copy the displayed webhook URL. This will be used when configuring notifications in the yCrash application.

# Step 2: Configure Slack notification Settings in yCrash

We can configure Slack notification settings following these steps,

  • Click on the 'Alerts & Notification' menu item on the left panel on the dashboard.

  • Click on the 'Add Notification' button.

img

  • From the Add Notification page, click 'Add Channel'.

img

  • The Add Channel popup will appear. Select Slack in the channel field.

  • Paste the copied endpoint URL from the Slack channel into the Endpoint URL field.

img

  • Click on the Add button and click on the Save Notification button.

img

Ensure the created channel is enabled by default. Users are allowed to enable or disable channels as per user’s needs. Additionally, users can edit or delete any created channels.

The steps explained above are for creating channels to send notifications without applying any filters. Alternatively, you can configure rules to notify users only when specific filters, such as App Name (optional), Host Name (optional), or Tags (optional) that are configured, match the incidents. To create a channel with filter criteria please refer to this documentation.