# Slack

### [Listing of all Slack Actions](https://github.com/unskript/docs/blob/main/connnecting/connectors/slack/action_slack/README.md)

### Authenticate

![Information needed to onboard Slack connector](/files/jwBgSNdmXOpeDSyrMjYm)

| Name               | Description                                               |
| ------------------ | --------------------------------------------------------- |
| Name               | This credential will be listed using the name you provide |
| OAuth Access Token | OAuth Access Token of the Slack app                       |

### Creating a Slack OAuth Access Token

To Obtain a Slack Access Token, you'll need to complete a few steps with Slack:

1. Create a [Slack Application](https://api.slack.com/apps). Choose "from a manifest".

![](/files/LlGaKtqupVM24AR7KTTl)

2\. Pick the workspace you'd like to send messages to: (If you have yet, join our [Cloud-ops-community](https://join.slack.com/t/cloud-ops-community/shared_invite/zt-1fvuobp10-~r_KyK9BxPhGiebOvl3h_w) workspace)

<figure><img src="/files/89IdcAinaUUyaJf88hu3" alt=""><figcaption></figcaption></figure>

3\. In the manifest file, you can name your application:

<figure><img src="/files/w9DFPe90UUPZh0OXpGCs" alt=""><figcaption></figcaption></figure>

4\. Click through the rest of the steps, and then you'll land at a page with many configuration options. Under "add features and functionality," click "Permissions."

5\. Scroll to "Scopes." We need to add 2 scopes for the app to send messages to our Slack Channel: `channels:read` and `chat:write`.

6\. We're now ready to create the OAuth token. Scroll to the top of the page, and click the green "Install to Workspace" (if you make changes, you'll have a "reinstall app" option).

7\. This will create your OAuth token that you can insert into your unSkript Credentials.


---

# 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://docs.unskript.com/unskript-documentation/connnecting/connectors/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.
