Aller au contenu principal
Toutes les integrations

Slack Integration

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

Comment ca marche avec 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

Ce que vous obtenez

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.

Configuration rapide

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);
});

Questions frequentes

Pret a integrer avec Slack?

Creez votre compte gratuit et lancez votre agent IA en quelques minutes.