Skip to content

[Add] Socket Mode support for Slack integration #230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JCMarques15
Copy link

@JCMarques15 JCMarques15 commented Apr 30, 2025

Overview

This PR introduces Socket Mode as a new connection method for Slack integration in Chainlit. Socket Mode provides a more developer-friendly approach by eliminating the need for public URLs, making it especially useful for local development and deployments behind firewalls.

Changes

  • Add comprehensive documentation for Socket Mode setup and configuration
  • Include step-by-step instructions for enabling Socket Mode in Slack
  • Add new screenshots for Socket Mode settings and token generation
  • Update existing documentation to clearly distinguish between connection methods
  • Add environment variable setup for WebSocket token

Benefits

  • Simpler local development without need for ngrok or public URLs
  • Enhanced security by avoiding public endpoint exposure
  • Better development experience with WebSocket-based connections
  • Clearer documentation for both connection methods

Related PRs

chainlit repository: #1436
cookbook repository: #195

- Add Socket Mode connection method documentation
- Include WebSocket token configuration steps
- Add new screenshots for Socket Mode and token setup
- Update notes about deployment requirements

Introduces Socket Mode as a recommended connection method for Slack
integration, allowing apps to run without public URLs. Includes detailed
setup instructions and environment variable configuration for both Socket
Mode and traditional HTTP Events API methods.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant