# How to configure slack\_token

Setting up slack\_token is a simple process that can be completed in a few steps.

1. Go to <https://api.slack.com/apps> and click **`Create an App`** button.\ <br>

   <figure><img src="https://1573387604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABMqnYtsOO44JmQTVSnn%2Fuploads%2Fm1dU32wqvUeaskJWvYb6%2Fimage.png?alt=media&#x26;token=61dfb2fd-1f89-4d15-afcd-8e11fa248839" alt="" width="563"><figcaption><p>Setting up Slack token</p></figcaption></figure>

{% hint style="info" %}
By default, only workspace owners and administrators can deploy apps. However, specific users and user groups can be authorized in your workspace settings. Administrators can also grant this permission to any non-guest team member.
{% endhint %}

2. In case `From scratch` option is selected, name the App, select the relevant namespace, and click **`Create App`** button.<br>

<figure><img src="https://1573387604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABMqnYtsOO44JmQTVSnn%2Fuploads%2FvgdRCm06mFCsjQBwx9u1%2Fimage.png?alt=media&#x26;token=6bbf91ac-4cf2-4db5-b426-392e2e77928b" alt="" width="476"><figcaption><p>Create new app</p></figcaption></figure>

3. Navigate to the `OAuth & Permissions` tab.
4. Go to Scopes and click on the `Add an OAuth Scope` button.
5. Select the following options from the drop-down list:
   * `chat:write.public`
   * `chat:write`
   * `channels:read`
6. Click on the `Add Scopes` button.
7. Scroll up and click the `Install to Workspace`. Once this step is done, slack\_token will appear.<br>

   <figure><img src="https://1573387604-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABMqnYtsOO44JmQTVSnn%2Fuploads%2FqEvOTAobIYFWKg47vmS1%2Fslack_token.gif?alt=media&#x26;token=e92be088-68bb-4ab5-bc74-562676d2d8a7" alt="" width="563"><figcaption><p>OAuth Scope</p></figcaption></figure>


---

# 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.perfectscale.io/customize-workflow/communication-and-messaging/slack-integration/how-to-configure-slack_token.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.
