Skip to main content
Novu provides pre-built UI components for chat platforms like Slack, Microsoft Teams, Telegram and other communication platforms. Add these components so users can install the communication platform app in their workspace and connect it to your agent.

Use connect components in production

Each connection belongs to one subscriber. To connect each person to their own Novu subscriber, follow this pattern:
  • Render the component on an authenticated page in your app, such as a settings or integrations page.
  • Pass the signed-in user’s id from your auth session as subscriberId, for example session.user.id. Use the same id you use for that user everywhere else in Novu. Do not hardcode it.
  • Enable distribution so users outside your own workspace can install the app: Slack Public Distribution or Microsoft Teams per-tenant setup. Telegram needs no extra step, because one bot serves every user.
The connect button in the Novu dashboard connects your own account, so you can test the agent. In production, your users connect through the component embedded in your app, with their own subscriberId.

Slack connect button

SlackConnectButton is a pre-built UI component in the @novu/react SDK that connects an agent to a Slack workspace. Check out the example below.

Add SlackConnectButton to my app

Open in Cursor

API reference

SlackConnectButton accepts the following props to customize the UI and behavior:

Microsoft Teams connect button

MsTeamsConnectButton is a pre-built UI component in the @novu/react SDK that connects an agent to a user’s Microsoft Teams. In subscriber mode, autoLinkUser defaults to true so the per-user Teams identity is linked after admin consent.

Add MsTeamsConnectButton to my app

Open in Cursor

API reference

MsTeamsConnectButton accepts the following props: If auto-link fails after admin consent, use MsTeamsLinkUser as a follow-up. Channel page: Microsoft Teams.

Telegram connect button

TelegramConnectButton is a pre-built UI component in the @novu/react SDK that links a subscriber’s Telegram chat to your agent. It authenticates with the subscriber JWT from NovuProvider, so no secret key is exposed in the browser. When clicked, the button issues a t.me/<bot>?start=<code> deep link, opens it in a new tab, and polls until the subscriber presses Start in Telegram. Clicking again while connected disconnects the chat.

Add TelegramConnectButton to my app

Open in Cursor

API reference

TelegramConnectButton accepts the following props to customize the UI and behavior:

Connect AI SDK

Connect an existing agent to Slack and get a reply in-thread.

Connecting your app

Wire the bridge endpoint and register agent handlers in your app.