---
title: "Get the Slack Bot Token"
description: "After creating the Slack app for Brainfish Sync, install the app into your Slack workspace and copy the bot token from the app's OAuth settings."
canonical_url: "https://help.brainfi.sh/articles/get-the-slack-bot-token-83i9dAhiQT"
md_url: "https://help.brainfi.sh/articles/get-the-slack-bot-token-83i9dAhiQT.md"
---
# Get the Slack Bot Token

After creating the Slack app for Brainfish Sync, install the app into your Slack workspace and copy the bot token from the app's OAuth settings.

## Steps


1. Go to [Slack API Apps](https://api.slack.com/apps).
2. Open the Slack app you created for Brainfish Sync.
3. In the left sidebar, select **OAuth & Permissions**.
4. Scroll to **Scopes** and confirm the required scopes are listed under **Bot Token Scopes**.
5. At the top of the **OAuth & Permissions** page, select **Install to Workspace**.
6. Review the permissions and select **Allow**.
7. After installation, return to **OAuth & Permissions**.
8. Find **OAuth Tokens for Your Workspace**.
9. Copy the **Bot User OAuth Token**.

 ![](https://help.brainfi.sh/api/attachments.redirect?id=be473415-ba2b-4861-b527-48bb70806bdc " =1975x1296")

The token starts with `xoxb-`, for example:

```text
xoxb-...
```

## If the Token Is Not Visible

If the token is not visible, the app may not be installed yet. Select **Install to Workspace** from the **OAuth & Permissions** page.

If you changed the app scopes after installing it, select **Reinstall to Workspace** so the token receives the latest permissions.

## Security Notes

* Store the token securely.
* Use the token only from your server-side sync job.
* Do not paste the token into browser-side code, public Slack channels, tickets, or documentation.
* Rotate the token if it is accidentally exposed.
