# Slack Auth App

### **Add your App in Slack**

1. Visit: <https://api.slack.com/apps/new>
2. Click on “Create from Scratch”
3. Add name and Select Workspace
4. go to OAuth & Permissions and add the next callback url: <https://api.platform.openintegrationhub.com/oauth/callback>
5. Add the Scopes you need for your template (e.g. if you want to send a message to a Slack channel you need the following scopes: channels:read, chat:write, chat:write.public)
6. Then go on the menu to install application

### Add Authentication in FlowMate

Now you have to setup the Auth Client in FlowMate

1. Open the Slack Connector in FlowMate and click on “Activate Connector”\ <img src="/files/3aNdkWiTvEkF76io7Bgu" alt="" data-size="original">
2. Enter your Client ID and Secret
3. The Auth URL and Token Endpoint are already predefined
4. Select the needed scopes (e.g. if you want to send a message to a Slack channel you need the following scopes: calls:write, chat:write, channels:read, channels:history, groups:history, mpim:history, im:history)
5. Save your changes


---

# 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://flowmate.gitbook.io/flowmate-documentation/connectors/slack/slack-auth-app.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.
