Skip to main content
All Integrations

Slack Integration

Bring your AI knowledge assistant directly into Slack. Answer team questions, search documents, and surface knowledge -- all without leaving Slack.

How it works with Slack

Four steps to deploy your AI knowledge assistant in Slack.

Slack API Dashboard

InfoLens for Slack

Create a new Slack app at api.slack.com/apps and install it to your workspace.

Create New App

What you get

Knowledge at your team's fingertips, right where they already work.

@Mention the Bot

Invite the InfoLens bot to any channel and @mention it with a question. The bot replies in-thread with grounded answers.

Direct Messages

DM the InfoLens bot for private queries. Great for sensitive questions or personal research.

Thread Replies

Responses come as thread replies, keeping channels clean. Full conversation context is maintained within threads.

Source Citations

Every answer includes source citations linking back to the original documents. Your team can verify and explore further.

Multiple Workspaces

Connect each InfoLens agent to its own Slack workspace. Different teams can query different knowledge bases.

Quick setup

For developers: build a custom Slack bot with the TypeScript SDK.

slack-bot.ts
// Using the TypeScript SDK in a Slack bot
import { InfoLensClient } from '@infolens/sdk';

const client = new InfoLensClient({
  baseUrl: 'https://api.infolens.ai',
  apiKey: 'pk_live_...'
});

app.message(async ({ message, say }) => {
  const response = await client.agents.chat({
    agentId: 'ag_7f3k9x2m',
    apiKey: 'pk_live_...',
    message: message.text
  });
  await say(response.answer);
});

Frequently asked questions

Ready to integrate with Slack?

Create your free account and have your AI agent live in minutes.