Slack App Integration

Next.js boilerplate for building powerful Slack applications

🚀 Quick Start

  1. Copy .env.example to .env.local
  2. Add your Slack app credentials
  3. Configure your Slack app endpoints
  4. Start building your features!

🔧 API Endpoints

  • /api/slack/events - Event subscriptions
  • /api/slack/commands - Slash commands
  • /api/slack/interactions - Interactive components

📋 Features Included

Event Handling

Process Slack events with signature verification

💬

Slash Commands

Handle custom slash commands with responses

🎛️

Interactive Components

Support for buttons, modals, and shortcuts

🔐 Environment Variables

SLACK_BOT_TOKEN=xoxb-your-bot-token-here
SLACK_SIGNING_SECRET=your-signing-secret-here
SLACK_APP_TOKEN=xapp-your-app-token-here

Get these values from your Slack app configuration at api.slack.com/apps