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

# Slack & Teams

> Bring Caplena's AI insights into Slack and Microsoft Teams — set up the bot, choose an access mode, and follow best practices.

With the Slack and Microsoft Teams integrations, your team can query your customer feedback data and get instant answers — right where they collaborate every day. No switching tabs, no manual searches — just ask questions and get instant summaries, trends, and answers.

<Note>
  The bot can only query projects that have been set to **Live**. [Learn how to set a project to Live →](/get-started/project-settings/setting-a-project-to-live)
</Note>

## Microsoft Teams

<Steps>
  <Step title="Enable the Integration">
    Before the bot can answer questions in Teams, set the project to **Live**. [Learn how →](/get-started/project-settings/setting-a-project-to-live)

    Go to your [global **Integrations** page](https://app.caplena.com/settings/integrations) and click **Connect** under the Microsoft Teams section.

    <Frame>
      <img src="https://mintcdn.com/caplena-32172960/GcK7uvBosCy8xKB6/images/Screenshot-2026-05-27-at-16.09.46.png?fit=max&auto=format&n=GcK7uvBosCy8xKB6&q=85&s=c5e017f8baa9318dc429189cd2feae46" alt="Screenshot 2026 05 27 At 16 09 46" title="Screenshot 2026 05 27 At 16 09 46" className="mx-auto" style={{ width:"86%" }} width="2170" height="1542" data-path="images/Screenshot-2026-05-27-at-16.09.46.png" />
    </Frame>

    Download the provided **Manifest file (ZIP)**.

    <Frame>
      <img src="https://mintcdn.com/caplena-32172960/GcK7uvBosCy8xKB6/images/Screenshot-2026-05-27-at-16.13.44.png?fit=max&auto=format&n=GcK7uvBosCy8xKB6&q=85&s=b8a4be685ff1f844bd2c91c1368285a3" alt="Screenshot 2026 05 27 At 16 13 44" width="1686" height="768" data-path="images/Screenshot-2026-05-27-at-16.13.44.png" />
    </Frame>

    <Tip>
      If you don't see the Teams integration option, your role may not include permissions for integrations. Reach out to your Caplena admin — they can enable it with one click.
    </Tip>
  </Step>

  <Step title="Install the Caplena App in Microsoft Teams">
    <Frame>
      <img src="https://mintcdn.com/caplena-32172960/GcK7uvBosCy8xKB6/images/Screenshot-2026-05-27-at-16.22.12.png?fit=max&auto=format&n=GcK7uvBosCy8xKB6&q=85&s=112be99cd6a3911f54054ff169242c64" alt="Screenshot 2026 05 27 At 16 22 12" title="Screenshot 2026 05 27 At 16 22 12" className="mx-auto" style={{ width:"64%" }} width="1310" height="1774" data-path="images/Screenshot-2026-05-27-at-16.22.12.png" />
    </Frame>

    Open Teams → **Apps → Manage your Apps → Upload an App**.

    Depending on your permissions, click either **"Upload an app to your org's app catalog"** or **"Submit an app to your org"**, then follow the on-screen instructions to upload the ZIP file.

    <Frame>
      <img src="https://mintcdn.com/caplena-32172960/GcK7uvBosCy8xKB6/images/Screenshot-2026-05-27-at-16.26.24.png?fit=max&auto=format&n=GcK7uvBosCy8xKB6&q=85&s=a78f3a4275dc4be1fb3390df26e754c0" alt="Screenshot 2026 05 27 At 16 26 24" width="746" height="424" data-path="images/Screenshot-2026-05-27-at-16.26.24.png" />
    </Frame>
  </Step>

  <Step title="Link Your Teams Account to Caplena">
    Once the app is approved, go to **Apps** in Microsoft Teams and search for **Caplena**.

    * If you see **Add** → click it.
    * If you see **Open** → you're already good to go.
          <Frame>
            <img src="https://mintcdn.com/caplena-32172960/GcK7uvBosCy8xKB6/images/Screenshot-2026-05-27-at-16.30.49.png?fit=max&auto=format&n=GcK7uvBosCy8xKB6&q=85&s=766bd131e499cc203211b1e66b487a5e" alt="Screenshot 2026 05 27 At 16 30 49" width="2782" height="1032" data-path="images/Screenshot-2026-05-27-at-16.30.49.png" />
          </Frame>

    Navigate to **Chat → Caplena bot**. You should automatically receive a "Welcome" message with a link to connect your Teams installation to your Caplena user.

    <Frame>
      <img src="https://mintcdn.com/caplena-32172960/GcK7uvBosCy8xKB6/images/Screenshot-2026-05-27-at-16.33.36.png?fit=max&auto=format&n=GcK7uvBosCy8xKB6&q=85&s=fff1e191f538fb9acf41e74a054863e6" alt="Screenshot 2026 05 27 At 16 33 36" width="3212" height="818" data-path="images/Screenshot-2026-05-27-at-16.33.36.png" />
    </Frame>

    If no message appears, simply type **"Hi"** — this triggers the connection flow.
  </Step>
</Steps>

## Slack

<Steps>
  <Step title="Connect Your Slack Workspace">
    Open Caplena and navigate to **Settings → Integrations**. Find the **Slack** integration and click **Connect**.

    <Frame>
      <img src="https://mintcdn.com/caplena-32172960/7X4_hXVyymHW5Wvj/images/Screenshot-2026-05-27-at-16.35.45.png?fit=max&auto=format&n=7X4_hXVyymHW5Wvj&q=85&s=32d95b5e78e993933d80c47d923f7706" alt="Screenshot 2026 05 27 At 16 35 45" width="1690" height="774" data-path="images/Screenshot-2026-05-27-at-16.35.45.png" />
    </Frame>

    Slack will open a permissions window where you can select your workspace and submit the installation request.

    <Frame>
      <img src="https://mintcdn.com/caplena-32172960/7X4_hXVyymHW5Wvj/images/Screenshot-2026-05-27-at-16.37.11.png?fit=max&auto=format&n=7X4_hXVyymHW5Wvj&q=85&s=8988f0dca69a4d8711702e26c4d7d8d6" alt="Screenshot 2026 05 27 At 16 37 11" width="1940" height="1602" data-path="images/Screenshot-2026-05-27-at-16.37.11.png" />
    </Frame>

    <Note>
      If you see a "Request to install" button, it means your Slack admin must approve Caplena before you can use it. You can optionally leave a message explaining why you want to install the app.
    </Note>
  </Step>

  <Step title="Wait for Admin Approval (if required)">
    If your Slack workspace restricts app installations, your admin will need to review your request. Once approved, the Caplena app will appear in Slack under **Apps**. If apps are not restricted, Slack will install the app automatically after permission confirmation.
  </Step>

  <Step title="Link Your Slack User to Your Caplena Account">
    After the app is installed, open **Slack → Apps → Caplena** and go to the **Messages** tab. The first time you open the Messages tab, Caplena posts a one-time welcome message with a link to connect your Slack user to your Caplena account.

    <Frame>
      <img src="https://mintcdn.com/caplena-32172960/4zApQqkfuX5MsUcM/images/Screenshot-2026-05-27-at-16.39.14.png?fit=max&auto=format&n=4zApQqkfuX5MsUcM&q=85&s=20a099cdaa0f2941811d6a9cdb7eac25" alt="Screenshot 2026 05 27 At 16 39 14" width="2840" height="1520" data-path="images/Screenshot-2026-05-27-at-16.39.14.png" />
    </Frame>

    * With **Per-user Access**, linking your account is required before you can ask questions.
    * With **Global Access**, linking is optional. It gives you a more personalized experience.

    If the link has expired when you open it, Caplena automatically sends you a fresh link as a Slack DM. You can also request a new link at any time by sending `identify` to the Caplena app.

    You're now ready to use Agent directly from Slack.
  </Step>

  <Step title="Enable Project Access in Caplena">
    Slack can only query insights from projects that have been explicitly approved. [Learn how to set a project to Live →](/get-started/project-settings/setting-a-project-to-live)
  </Step>
</Steps>

### Using Agent in Slack

Chat with Agent in the **Messages** tab of the Caplena app.

* **Each new message starts a separate conversation.** Every top-level message you send creates its own thread, and Agent replies in that thread.
* **Reply in the thread to follow up.** Agent keeps the context of the conversation within the thread. Send a new top-level message to start fresh or ask about a different project.
* **Track progress and stop answers.** While Agent works on your question, Slack shows a processing status in the thread. Click **Stop** to cancel the answer. Agent then confirms that the answer was stopped instead of posting a partial response.
* **Ask in channels.** Mention **@Caplena** to ask a question in a channel.

**Notification digests**

Your Caplena notification digests are delivered as top-level messages in the Messages tab, separate from your conversation threads. Each digest groups notifications by type. Every notification shows its title, a short snippet, and a **Read more** button. If a group has more notifications than fit in the message, a **+N more** link opens the full list in your Caplena inbox. A **Notification settings** link at the end of the digest lets you change what you receive.

### Troubleshooting

* **The Messages tab, threads, or Stop button don't appear.** Hard-refresh Slack (for example, `Ctrl+Shift+R` or `Cmd+Shift+R` in the desktop app or browser) to load the latest version of the Caplena app.
* **The "link your Caplena account" link has expired.** Open the link anyway. Caplena automatically sends a new link to your Slack DMs. Alternatively, send `identify` to the Caplena app.

## Configuring Access Mode (Slack & Teams)

After connecting your workspace, you'll be guided to the Access Mode setting automatically. You can also return to it at any time from **Settings → Integrations** by clicking on the integration.

<Frame>
  <img src="https://mintcdn.com/caplena-32172960/f2rnYDTA58YE-8u7/images/Screenshot-2026-05-27-at-16.41.18.png?fit=max&auto=format&n=f2rnYDTA58YE-8u7&q=85&s=5b20cbafb0701a5541ed188be30c22c4" alt="Screenshot 2026 05 27 At 16 41 18" title="Screenshot 2026 05 27 At 16 41 18" className="mx-auto" style={{ width:"72%" }} width="1722" height="1574" data-path="images/Screenshot-2026-05-27-at-16.41.18.png" />
</Frame>

**Global Access** *(default)* — All Slack or Teams users can query any project marked as `Live`. No individual Caplena account authentication is required.

**Per-user Access** — Users must sign in with their Caplena account the first time they interact with the Caplena bot. From then on, they can only query projects, reports, and views they have permission to access.

## Best Practices for Microsoft Teams & Slack

**Create a public #insights channel**

Set up a shared "Insights" channel where team members can query Caplena for findings. This helps everyone discover what the bot can do, learn from each other's use cases, discuss insights together, and keep knowledge accessible across the team.

<Frame>
  <img src="https://mintcdn.com/caplena-32172960/f2rnYDTA58YE-8u7/images/Screenshot-2026-05-27-at-16.43.27.png?fit=max&auto=format&n=f2rnYDTA58YE-8u7&q=85&s=fc9f50779ed4050d38495399f5d1f4f4" alt="Screenshot 2026 05 27 At 16 43 27" width="2960" height="1684" data-path="images/Screenshot-2026-05-27-at-16.43.27.png" />
</Frame>

**How Caplena works in public channels**

In public channels, the bot will always reply **in a thread**. Each thread automatically links to **one specific project** on Caplena. Make sure to **@Caplena** in every new reply to trigger a response.

**How Caplena works in private channels**

In private channels, Caplena doesn't use threads. Click **"New Conversation"** whenever you want to ask about a different project, start fresh without previous context, or the conversation thread has become too long. A new conversation will also be created automatically every few days.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.