Skip to main content

Slack

This guide contains information to set up a Slack Source in Vanus Connect.

Introduction

Slack is a cloud-based team collaboration platform that allows users to communicate, share files, and integrate with other tools and services.

Our Slack Source connector, lets you receive events when users join, message, react etc.

Prerequisites

Before obtaining Slack events, you must have:

Getting Started

Step 1: Create an app in Slack

  1. Go to Slack API, and click Create New App①.

slack_source_1.webp

  1. Select From Scratch②.

slack_source_2.webp

  1. Set the App Name③, Workspace④, and click the Create App⑤ button.

slack_source_3.webp

Step 2: Get App Credentials

  1. Go to Basic Information①.

slack_source_4.webp

  1. Scroll down to App Credentials and copy the Verification Token②, and Signing Secret③.

slack_source_5.webp

  1. Go to your Vanus Connection, Give the connection a Name④, paste the Verification Token⑤ and Signing Secret⑥ from Slack as configurations.

slack_source_6.webp


Step 3: Configure Event Subscription

  1. Click the copy icon① to copy the webhook URL, select the Events② you want to receive.

slack_source_7.webp

  1. Go back to your Slack App, and click on Event Subscriptions③ in the side menu.

slack_sheets_14.webp

  1. Enable Events④ by turning on the switch, and use the URL we've previously copied and paste it into Request URL⑤. You should see a green Verified, indicating our Source is verified by Slack.

slack_sheets_15.webp

  1. Scroll down, click Subscribe to bot events⑥ and after, you will be able to click Add Bot User Event⑦.

slack_sheets_16.webp

  1. Select the event message.channels⑧.

slack_sheets_17.webp

  1. Click on Save Changes⑨ to complete your configuration.

slack_sheets_18.webp

  1. Go to Install App⑩ from the side menu and click Install to Workspace⑪.

slack_sheets_19.webp

  1. Click on Allow⑫.

slack_sheets_20.webp

  1. Go to your Slack workspace, invite the bot to the channel by clicking Add to Channel⑬ button.

slack_sheets_22.webp

  1. Click Next⑭ to continue the configuration.

slack_source_8.webp


Learn more about Vanus and Vanus Connect in our documentation.