> For AI agents: the complete documentation index is available at https://www.jumpserver.com/docs/v4/llms.txt, the full documentation bundle is available at https://www.jumpserver.com/docs/v4/llms-full.txt.

# Integrate Slack authentication 
## About Slack

**Slack** authentication is an identity verification mechanism based on the Slack platform, allowing users to log in to enterprise applications or third-party services using their Slack accounts for secure authentication and authorization.

## How to configure


1

In the right area of the top navigation bar, click .

![image](/docs/images/docs/navs/nav-settings.png)

2

Navigate to the **System settings > Authentication > Slack**.

3

In the **Slack** field, check to enable Slack authentication.

4

In the **Client ID** field, type the Slack client ID, a unique identifier for your Slack application, used to identify the app during the OAuth 2.0 authorization process.

5

In the **Client secret** field, type the Slack client secret, a confidential string associated with your Slack application, used to authenticate the app during the OAuth 2.0 token exchange process.

6

In the **Client bot token** field, type the Slack client bot token, an access token granted to your Slack bot, allowing it to interact with the Slack workspace and perform tasks like sending messages or managing channels.

7

In the **User attribute** field, type the user attribute mapping. The key represents the JumpServer user attribute name (available options: name, username, email, phone, comment), while the value corresponds to the Slack user attribute name.
```json title="Slack User Attribute Example"
{
  "name": "real_name",
  "username": "name",
  "email": "profile.email"
}
```

8

In the **Organization** field, after authentication and creation, the user will be added to the selected organization.

9

Click **Submit**.

## Test Slack connection


1

In the right area of the top navigation bar, click .

![image](/docs/images/docs/navs/nav-settings.png)

2

Navigate to the **System settings > Authentication > Slack**.

3

Scroll to the bottom of the page.

4

Click **Test**.

## JumpServer Slack URLs

```md title="QR Login URL"
https://jumpserver.example.com/core/auth/slack/qr/login/
```

```md title="QR Login Success Callback URL"
https://jumpserver.example.com/core/auth/slack/qr/login/callback/
```
