# Slack

## Configuration

### **Connecting the data source**

1. On the **Data sources** page, click **Connect**, and select *Slack* in the Data sources list.
2. Give the data source a name and provide the **Hook URL**.

{% hint style="info" %}
Refer to [Slack documentation](https://api.slack.com/messaging/webhooks) for details on creating an incoming webhook.
{% endhint %}

3. Click **Test connection** to check whether the data source can be connected, and then click **Connect Datasource** to complete the setup.

<figure><img src="https://837703843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUX6zPRMFFK0yrTghj7cY%2Fuploads%2FYB33tGikLzheO3szExas%2FCleanShot%202025-04-28%20at%2013.13.29%402x-min.png?alt=media&#x26;token=26e384ad-ffaf-4f6e-a057-18f9624b92ed" alt=""><figcaption></figcaption></figure>

## Usage

Once you've established the connection between UI Bakery and Slack, you can start sending messages from your actions to a predefined channel webhook.\
Check out [this page](https://docs.uibakery.io/reference/working-with-actions/slack-message-action) for more details.
