---
title: Integrating with Slack
slug: integrating-with-slack
docTags: 
createdAt: 2020-04-16T06:07:28.000Z
---

Pathfix allows you to easily add end-user OAuth based integration, handling authorization and enable communication between your app and Slack in just a few minutes.

Pathfix has 2 connectors for Slack - **Slack&#x20;**&#x61;nd **Slack V2**. Slack recently made changes to their authorization process and deprecated their previous module. However, the depricated version is still supported and is available to older users. We recommend using Slack V2 for your oauth setup in Pathfix.

Before proceeding, you will first need to register your application with Slack.&#x20;

Please note: You will need to create an account with Slack to access this.



## Add your App on Slack

- Go to the url [https://api.slack.com/apps](https://api.slack.com/apps)
- Click on `Create New App` and fill in the details.



![](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/8mJwY34dXe7gqynd2mcPR_createapp-01.png "Image: Slack Integration")



- Name your App and click `Create App`



::Image[]{src="https://api.archbee.com/api/presign/E6H_--BmYJWG_yGaOUOxt/-H6qWxjDvI86mKYvW7l8b_createapp-02.png" size="54" caption="Image: Create Slack App" position="center" showCaption="true"}





- Under the `Add features and functionality` section, select `Permissions`



![](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/WPz5tH1HBOocf7r69UVp1_createapp-03.png "Image: Slack Permissions")





- Add the Pathfix Redirect URL

![](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/XOj1KkOnvghu-EpsGyliu_createapp-04.png "Image: Add Redirect URL's")



- Add the following Scopes `chat:write:user,channels:read` and remember these for later





![](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/azzbtH-b7Gyjy2O5OD-FG_createapp-05.png "Image: Add OAuth Scope in Slack")





- Under Basic Information, scroll down to get your `Client ID` and `Client Secret` and copy these for use in Pathfix



::Image[]{src="https://api.archbee.com/api/presign/E6H_--BmYJWG_yGaOUOxt/jq9Iq4e2KNAsxZ8bokTZa_createapp-06.png" size="82" caption="Image: Slack Client ID & Client Secret" position="center" showCaption="true"}





## Setup in Pathfix



- Login to your Pathfix account and click on `Add Application`
- Add the name of your SaaS and hit `Save`
- Select **Slack V2** (choose V2 to connect to the new Slack OAuth connector) from the list of providers to integrate with. You can change the Display `Name` and `Description`.&#x20;



::Image[]{src="https://api.archbee.com/api/presign/E6H_--BmYJWG_yGaOUOxt/LSeMs6LSYtLlaIKfOBXgw_image.png" size="92" caption="Image: Configure Slack Integration" position="center" showCaption="true"}



- Enter the `Client ID` and `Client Secret` received from Slack&#x20;
- Check if the `Scopes` match with the Scopes selected in Slack and hit `Save`



::Image[]{src="https://api.archbee.com/api/presign/E6H_--BmYJWG_yGaOUOxt/ZHrRfGh08BhyDqTY-cKzr_image.png" size="92" caption="Image: Add Slack ClientID and Client Secret" position="center" showCaption="true"}





## Add Integration To Your SaaS

To add Pathfix Integration to your code base:

There are 2 steps to adding the integration to your SaaS

1. [End-user authorization](docId\:MsCMNgUGRsGrzSCMLCiXf)
2. [Enable pass-through API](docId\:JiDAxEPNR2Owz8w4_JpBK)



To add the integration to your Bubble app, please follow this documentation [Bubble.io Setup](https://docs.pathfix.com/bubble)





Need help? Reach out to us at support\@pathfix.com and we would be happy to assist!

