---
name: devsecops-devsecops-configuring-en
title: Event Notifications for DevSecOps pipelines
description: IBM Cloud Event Notifications is a service for routing event notifications, alerting you to critical events in your IBM Cloud&reg; account or triggering automated actions via webhooks. You can filter and direct event notifications from IBM Cloud services to email, SMS, Webhooks, and Push Notifications.
last-updated: 2024-11-06
---

> ## Documentation Index
> The table of contents for this documentation set is at https://cloud.ibm.com/docs/devsecops?format=markdown
> The index for all IBM Cloud docs is at: https://cloud.ibm.com/docs/llms.txt
> Use these files to discover more information as needed.

# Event Notifications for DevSecOps pipelines
{: #cd-devsecops-configure-en}

IBM Cloud Event Notifications is a service for routing event notifications, alerting you to critical events in your IBM Cloud&reg; account or triggering automated actions via webhooks. You can filter and direct event notifications from IBM Cloud services to email, SMS, Webhooks, and Push Notifications.
{: shortdesc}

For more information, see [Getting started with Event Notifications](https://cloud.ibm.com/docs/event-notifications?topic=event-notifications-getting-started&format=markdown).

## Adding an Event Notifications instance to toolchains
{: #devsecops-en-add-to-toolchain}

After you create an Event Notifications instance, complete the following steps to add it to a toolchain:

1. From the IBM Cloud console, click the **Menu** icon > **Platform Automation** > **Toolchains**.
2. On the Toolchains page, select the toolchain to view its Overview page. Alternatively, from your app's Overview page, access the Continuous Delivery card, and click **View Toolchain**, then click **Overview**.
   a. Click **Add Tool**.
   b. In the Tool Integrations section, select **Event Notifications**.
3. Enter the name for this tool integration as it appears on the Event Notifications card in your toolchain. This name serves as the identifier for the tool integration within your toolchain.
4. Select the instance to connect to the toolchain.
5. Click **Create Integration** to add the Event Notifications tool integration to your toolchain.
6. From the Overview page of your toolchain > IBM Cloud Tools section, click **Event Notifications**.

For more information, see [Enabling notifications](https://cloud.ibm.com/docs/ContinuousDelivery?topic=ContinuousDelivery-event-notifications-cd&interface=ui&format=markdown#event-notifications-enable-cd).

## Configuring the Event Notifications instance
{: #devsecops-env-configure}

### Including environment properties
{: #devsecops-en-configure-envprop}

After adding the Event Notifications instance to your toolchain, incorporate an environment property named `event-notifications` and assign the value to `1`, across your PR, CI, CD, and CC toolchains.

### Configuring sources
{: #devsecops-en-configure-source}

1. Go to your Event Notifications instance.
1. From the Sources section, select and enable the toolchains from which you want to receive messages.

### Configuring destinations
{: #devsecops-en-configure-destinations}

From the Destinations section, click **Add** and enter the required information.

### Configuring topics
{: #devsecops-en-configure-topics}

1. From the Topics section, click **Create**.
1. Enter a name and select the desired source. You can select multiple sources as needed.

### Configuring subscriptions
{: #devsecops-en-configure-sub}

1. From the Subscriptions section, click **Create**.
1. Enter a name and select the topic and destination.

## Sending custom messages to event notifications
{: #cd-devsecops-send-custom-message-en}

To send custom messages from a pipeline separate from one-pipeline standard messages, call the `"${COMMONS_PATH}/communications/post_message` script , for example:

```
echo "Here is the custom message" | "${COMMONS_PATH}/communications/post_message
```