# Slack

The following section explains how to integrate Slack as collaboration tool with cfxOIA using Webhook.

### Create Webhook for Slack Messages in cfxOIA

**Step 1:** Login to cfxDimensions through web-browser UI (as Project Admin user)

**Step 2:** Click on ‘OIA (Ops Intelligence & Analytics)’ app

**Step 3:** Click on an existing Project hamburger menu and click on 'Configure Project'.

**Step 4**: Click on Messages tab from Project Configuration Tab.

![](/files/-MCg_-O7mXFuwgf2RVr0)

**Step 5**: Click '+' to add Slack as Message Endpoint to the selected project.

**Step 6**: Select 'Source' as Endpoint Role. Enter Name and Description.

**Step 7**: Select 'Default Slack collaboration messages from cfxOIA Incident Room' as Event Type.

![](/files/-MCgaRjJo8SQWohYJ_vJ)

**Step 8**: Select 'Webhook With Basic Authentication' as Endpoint Type

**Step 9**: For 'Hostname or IP address', enter FQDN DNS Name or IP Address of cfxDimension platform. This is used within the Webhook URL.

**Step 10**: Protocol, Port, URI and Security Token are optional and not required

**Step 11**:  Enter 'Username' and 'Password' to enable HTTP Basic authentication for Webhook. Leave empty to disable HTTP Basic authentication.

**Step 12**:  Click on 'Save' to create Webhook based messaging for Slack tool

**Step 13**: On the context menu of newly created message end point, click on 'Enable' to activate it.

**Step 14**: On the context menu of newly created message end point, click on 'Webhook URL' to view and copy the URL. A sample webhook url is as shown below.

![](/files/-MCgl_M1r9AvVFSybly7)

### Configure Slack for Messages over a Webhook

**Step 1**: Login to <https://api.slack.com/apps>

**Step 2**: Click on 'Create New App' or use an existing App.

![](https://lh6.googleusercontent.com/cyYpnlRQBc2E3Td1zaP8ZXwiV_4C9ONEkxDe1XDOSeNA1ts6sndkOb4rynX5PEL3ijLN_A2Y9EKS3t6ZBoZ_zazonDzWvNo4F8K_JMio785Zh-_-EOkCHO6ISrqagR1BSuACayuN)

**Step 3**: Click on 'Slash Commands' to create new outgoing webhook. Always choose the right channel in Slack for which the messages needs flow as shown below.

![](/files/-MCgeyke70lxbhHWgoYi)

**Step 4**: Configure the Webhook. The details as given below.

![](/files/-MCgjHo15QGoc34UNJnj)

###


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://oiadocs.cloudfabrix.io/integrations-guide/integrations/slack.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
