- Discord integration has not been configured yet. Ask your administrator to set up the Discord bot in the - Enterprise settings. -
-{botStatus.botHandle}
- Linked
-- Discord ID: {connection.discordId} -
-- You can send direct messages to the bot on Discord and they will be handled by your PI agent. -
- -- Link your Discord account to chat with your PI agent via direct messages. -
- - {connectionInfo} - - {pairingCode ? ( -
- {pairingCode}
-
-
- - Send this code as a direct message to the bot on Discord. Expires in 10 minutes. -
- -- Go to the{' '} - - Discord Developer Portal - {' '} - and click New Application. -
-Click Create.
-- You will see an Application ID and Public Key on this page — you can ignore both. Our bot connects via the gateway (WebSocket), not webhooks, so these are not used. -
-- In the left sidebar, click Bot. A bot user is created automatically with your application. - You can optionally set a custom username and avatar here — this is what users will see when they DM the bot. -
-- Still on the Bot page, scroll down to Privileged Gateway Intents and enable: -
-Click Save Changes.
-- On the Bot page, click Reset Token (or View Token if this is a new bot). - Copy the token — you will only see it once. -
-- Keep this token secret. Anyone with this token can control your bot. If it leaks, reset it immediately from this page. -
-
- Open this URL in your browser, replacing{' '}
- YOUR_APP_ID{' '}
- with the Application ID from the General Information page:
-
- https://discord.com/oauth2/authorize?client_id=YOUR_APP_ID&scope=bot&permissions=0
-
- - Select your server and click Authorize. No bot permissions are needed — leave them at zero. -
-- Adding the bot to a shared server is optional but has a few advantages: -
-- Without a shared server, users can still DM the bot by searching its exact username — but a shared server makes discovery much simpler. -
-- Paste the bot token into the field below and click Save. - The bot will come online automatically. Users can then link their Discord accounts from their personal integration settings. -
-- Telegram integration has not been configured yet. Ask your administrator to set up the Telegram bot in the - Enterprise settings. -
-Linked
-- Telegram ID: {connection.telegramId} -
-- You can send direct messages to the bot on Telegram and they will be handled by your PI agent. -
- -- Link your Telegram account to chat with your agent via direct messages{botHandle ? ` to ${botHandle}` : ''}. -
- - {connectionInfo} - - {pairingCode ? ( -
- {pairingCode}
-
-
- - Send this code as a direct message to{' '} - {botLink ? ( - - {botHandle} - - ) : ( - {botHandle ?? 'the bot'} - )}{' '} - on Telegram. Expires in 10 minutes. -
- -- BotFather is Telegram's official bot for creating and managing bots. Open Telegram and search for{' '} - @BotFather, then start a conversation. -
-
- Send /newbot to
- BotFather. Follow the prompts to choose a display name and a username{' '}
- (must end in "bot", e.g.{' '}
- my_officer_bot
- ).
-
BotFather will reply with an HTTP API token. Copy it — you'll paste it below.
-- Keep this token secret. Anyone with this token can control your bot. You can regenerate it via BotFather - at any time. -
-- You can create a Telegram group and add the bot so your team can find it easily. This is optional — users - can also search for the bot by username and message it directly. -
-- Paste the bot token into the field below and click Save. The bot will come online - automatically. Users can then link their Telegram accounts from their personal integration settings. -
-- WhatsApp integration has not been configured yet. Ask your administrator to connect WhatsApp in the Enterprise - settings. -
-+{botStatus.phone}
- Linked
-- Phone: +{connection.whatsappId} -
-- You can send messages to the bot on WhatsApp and they will be handled by your PI agent. -
- -- Link your WhatsApp account to chat with your PI agent via direct messages. -
- - {phoneInfo} - - {pairingCode ? ( -
- {pairingCode}
-
-
- - Send this code to{botStatus.phone ? ` +${botStatus.phone}` : ' the bot'} on WhatsApp. Expires in 10 minutes. -
- -This will start the WhatsApp Web client and generate a QR code.
-- Go to Settings → Linked Devices → Link a Device. -
-- Point your phone camera at the QR code shown below. The bot will come online automatically once scanned. -
-- Users can then link their WhatsApp accounts from their personal integration settings and chat via direct - messages. -
-- The session persists across restarts — you won't need to re-scan unless you disconnect. -
-Scan this QR code with WhatsApp
-