NewMCP ServerView docs
Integrations

Slack Integration

Connect LH42 to Slack for seamless knowledge search.

6 min readUpdated 2026-01-18

Slack Integration

Search your knowledge base directly from Slack.

Features

  • /ask - Search and get AI-powered answers
  • @LH42 - Mention the bot in any channel
  • Notifications - Get alerts for document updates
  • Thread context - Follow-up questions in threads

Setup

1. Install the App

  1. Go to Settings > Integrations > Slack
  2. Click "Add to Slack"
  3. Authorize the app for your workspace

2. Configure Permissions

Choose which channels the bot can access:

  • All public channels
  • Specific channels only
  • Direct messages

3. Map Users (Optional)

Link Slack users to LH42 accounts for personalized results:

python
client.integrations.slack.map_user(
    slack_user_id="U123ABC",
    lakehouse_user_id="user_xyz"
)

Using the Bot

Slash Command

/ask What is our vacation policy?

Mention

@LH42 Find the latest sales report

In Threads

Continue the conversation in threads for follow-up questions.

Customization

Configure bot behavior:

python
client.integrations.slack.update({
    "default_limit": 5,
    "show_sources": True,
    "allow_feedback": True
})

Notifications

Set up document update notifications:

python
client.integrations.slack.create_notification({
    "channel": "#knowledge-updates",
    "events": ["document.processed", "document.updated"]
})

Troubleshooting

Bot not responding: Check the bot is invited to the channel

"Access denied": Verify user permissions in LH42

Slow responses: Consider caching frequently asked questions