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

# Setup

# Slack setup

Install: `composer require sanvex/slack`

**Configuration** (Slack app, scopes, `.env`, tokens): [Slack configuration](./configuration)

## Bot token

```bash theme={null}
php artisan sanvex:setup slack --bot-token="xoxb-..."
```

## User token

```bash theme={null}
php artisan sanvex:setup slack --api-key="xoxp-..."
```

## OAuth

Store credentials via `SlackKeyBuilder::setOAuthCredentials()` after your OAuth flow. See [configuration](./configuration).

## Usage

[Resources](./resources)
