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
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
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
API reference
TelegramConnectButton accepts the following props to customize the UI and behavior:
Related
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.