> ## Documentation Index
> Fetch the complete documentation index at: https://stytch.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Slack

> Configure Slack OAuth for Multi-Tenant Authentication.

## Create a new Slack OAuth client

<Steps>
  <Step title="Navigate to Slack OAuth Applications">
    Go to [Slack OAuth Applications](https://api.slack.com/apps). For more information, check out Slack's [Creating an OAuth App](https://api.slack.com/authentication/oauth-v2) guide.
  </Step>

  <Step title="Create a new app">
    Select **Create New App** and choose to create it **From scratch**. Enter your desired App Name and Slack Workspace.
  </Step>

  <Step title="Navigate to OAuth & Permissions">
    You will be redirected to the configuration page for your new App. On the left-hand sidebar, navigate to **OAuth & Permissions**.
  </Step>

  <Step title="Add the Stytch redirect URL">
    Scroll down to **Redirect URLs** and click **Add New Redirect URL**. Copy the Stytch redirect URI from the [Dashboard](https://stytch.com/dashboard/oauth) and paste it, then click **Save URLs**.
  </Step>

  <Step title="Configure User Token Scopes">
    In the **Scopes** section under **User Token Scopes**, add at least the following scopes: `users:read`, `users:read.email`.
  </Step>
</Steps>

## Configure your Slack OAuth client in Stytch

<Steps>
  <Step title="Navigate to your Slack application">
    Go to [Slack OAuth Applications](https://api.slack.com/apps) and select the OAuth App you will be using.
  </Step>

  <Step title="Navigate to OAuth & Permissions">
    On the left-hand sidebar, navigate to **OAuth & Permissions**.
  </Step>

  <Step title="Add the Stytch redirect URL">
    Scroll down to **Redirect URLs** and click **Add New Redirect URL**. Copy the Stytch redirect URI from the [Dashboard](https://stytch.com/dashboard/oauth) and paste it, then click **Save URLs**.
  </Step>

  <Step title="Verify User Token Scopes">
    In the **Scopes** section under **User Token Scopes**, ensure at least the following scopes are added: `users:read`, `users:read.email`.
  </Step>
</Steps>
