Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

docs: mention SLACK_STATE_SECRET env var as a required one (#9121)

Ajat Prabha7b35cb0e9946
diff --git a/web/src/features/slack/README.md b/web/src/features/slack/README.md
index 011b0808f1..df77e8bde0 100644
--- a/web/src/features/slack/README.md
+++ b/web/src/features/slack/README.md
@@ -28,10 +28,12 @@ This guide walks you through setting up and testing the Langfuse Slack integrati
1. In your Slack app settings, go to "Basic Information"
2. Copy the **Client ID** and **Client Secret**
-3. Add these to your `.env` file:
+3. Generate a random secret using `openssl rand -base64 32 | tr -d "=+/" | cut -c1-32` to use as [state secret](https://docs.slack.dev/tools/node-slack-sdk/oauth/#initialize-the-installer)
+4. Add these to your `.env` file:
```bash
SLACK_CLIENT_ID=your_client_id_here
SLACK_CLIENT_SECRET=your_client_secret_here
+ SLACK_STATE_SECRET=your_state_secret_here
```
### 4. Set Up HTTPS for Local Development