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

# How to use the Slack Bot

> Use Langdock models and Agents directly in Slack

<Info>
  To use Langdock in Slack, the Langdock app must be installed in your Slack
  workspace. This can only be done by a workspace admin following the steps
  detailed on the [Slack Bot integration
  page](/en/admin/manage-integrations/chatbot-setup-guides/slack).
</Info>

Afterwards, make sure that you have the app installed in your account. It should appear in the "Apps" section at the bottom left. If it's not installed, please click on "Add apps" to add the app to your Slack account.

<img src="https://mintcdn.com/langdock-34/xbzAyg08zXujRLuD/images/slack-bot-10.png?fit=max&auto=format&n=xbzAyg08zXujRLuD&q=85&s=d2ce5922965aa502d24aafc8d9010e6d" alt="Check if successfully installed if the Langdock App appears in the Apps section in Slack" width="2290" height="1432" data-path="images/slack-bot-10.png" />

## Basic Usage

The Langdock Slack Bot gives you full access to Langdock models and Agents directly in Slack. Once installed, you can interact with it by:

* Tagging **@Langdock** in any channel where the app is a member
* Sending a direct message to **@Langdock** (find it under "Apps" in your left sidebar)

After tagging **@Langdock** or messaging it directly, the bot responds in a thread where you can choose your default model or any Agent. The default model comes from your workspace settings or your personal preferences in [Langdock Preferences](https://app.langdock.com/settings/account/preferences).

<img src="https://mintcdn.com/langdock-34/xbzAyg08zXujRLuD/images/slack-bot-1.png?fit=max&auto=format&n=xbzAyg08zXujRLuD&q=85&s=51403e5942fb3768e7f098b761e4f464" alt="Tag @Langdock to call the App" width="1400" height="586" data-path="images/slack-bot-1.png" />

<img src="https://mintcdn.com/langdock-34/xbzAyg08zXujRLuD/images/slack-bot-2.png?fit=max&auto=format&n=xbzAyg08zXujRLuD&q=85&s=39c3f274342347aedcbaa13038ed184c" alt="Click on answer with &#x22;Model&#x22; or select an Agent" width="1396" height="870" data-path="images/slack-bot-2.png" />

## What does the Slack Bot see?

The Langdock Slack Bot only sees messages in threads where it's tagged or messaged directly. This is by design for privacy, it doesn't monitor other channel messages or threads. To ensure the bot sees a specific message, tag it in that same thread.

In the example below, the bot can see and translate the previous message because they're in the same thread:

<img src="https://mintcdn.com/langdock-34/xbzAyg08zXujRLuD/images/slack-bot-4.png?fit=max&auto=format&n=xbzAyg08zXujRLuD&q=85&s=5db8a3ec0a15c633c0660282174ad268" alt="Example translation in the same thread" width="1402" height="1302" data-path="images/slack-bot-4.png" />

## Using Agents

You have access to all Agents available in your Langdock workspace. After tagging **@Langdock** or messaging it directly, search and select any Agent as shown below. The Agent will respond using all its knowledge and capabilities.

<img src="https://mintcdn.com/langdock-34/xbzAyg08zXujRLuD/images/slack-bot-5.png?fit=max&auto=format&n=xbzAyg08zXujRLuD&q=85&s=89656d5e782a8b0bb25aa69f0738c48d" alt="Access to Agents from the App" width="1404" height="768" data-path="images/slack-bot-5.png" />

## Continue conversation in Langdock

By default, Slack Bot messages don't appear in your Langdock message history. To continue the conversation in Langdock, click "Continue conversation in Langdock" in any bot reply. This opens the conversation in your browser, picking up exactly where you left off in Slack.

<Note>
  While you can see what the bot replies to other users in Slack, you can only continue your own conversations. To join an existing thread, send a new message in that thread.
</Note>

<img src="https://mintcdn.com/langdock-34/xbzAyg08zXujRLuD/images/slack-bot-6.png?fit=max&auto=format&n=xbzAyg08zXujRLuD&q=85&s=641eab4fb9e3ae2b746d6a84da985dc0" alt="Example conversation in slack with the App" width="1400" height="696" data-path="images/slack-bot-6.png" />

<img src="https://mintcdn.com/langdock-34/xbzAyg08zXujRLuD/images/slack-bot-7.png?fit=max&auto=format&n=xbzAyg08zXujRLuD&q=85&s=f3fb4006a7ffbcd20389f207d42da4d7" alt="Same example but in Langdock" width="2076" height="1690" data-path="images/slack-bot-7.png" />

## Web search, data analyst, image generation

The Slack Bot has identical capabilities to the Langdock web app. You'll get the same results whether you're using Slack or the web interface.

<img src="https://mintcdn.com/langdock-34/xbzAyg08zXujRLuD/images/slack-bot-8.png?fit=max&auto=format&n=xbzAyg08zXujRLuD&q=85&s=696be378b8a479c437f5bee4bf1a0c7b" alt="Example of the App using Web Search" width="1398" height="948" data-path="images/slack-bot-8.png" />

## Images and documents

The Slack Bot handles images and documents just like the web app. Attach any file to your message and the bot will read and analyze it.

<img src="https://mintcdn.com/langdock-34/xbzAyg08zXujRLuD/images/slack-bot-9.png?fit=max&auto=format&n=xbzAyg08zXujRLuD&q=85&s=1497dd12ec2a1f48741059a54b38ca1e" alt="Example of the App reading through a shared file and giving back a summary" width="1400" height="1634" data-path="images/slack-bot-9.png" />

## Limitations of the Slack Bot

* Cannot be used in Direct Messages with other users, only in channels or direct messages to the bot
* Only sees content in threads where it's tagged, no access to broader workspace information like channel members or other messages
