Integrations·9 min read

Connecting Integrations

Connect Slack, Gmail, Notion, GitHub and more so your bots and workflows can act in the apps you already use.

Connecting Integrations

Integrations let your bots do things in other apps — send a Slack message, file a GitHub issue, create a Notion page. Connect once, then any bot or workflow can use them.

What an integration gives a bot

IntegrationExample capabilitiesCommon bot
Slacksend channel messages, summarize threads, alert humansSupport triage bot
Gmailread mail, draft replies, send approved messagesDaily inbox analyst
Notionsearch pages, create pages, update databasesKnowledge ops bot
Telegramreceive user messages, reply from a bot channelCommunity assistant
Web widgetanswer visitors on your siteCustomer support bot

Connect an app

  1. Go to Integrations in the dashboard.
  2. Pick an app (Slack, Gmail, Notion, GitHub, Calendar…) and authorize it. Most use OAuth — you approve access in the provider's own window.
  3. Once connected, its capabilities become available to your bots and as App nodes in the Orchestrator.

Use it in a bot

Declare the capability and call it:

hivelang
bot Notifier { instructions { Post important updates to Slack. } capabilities { slack.postMessage } on user.message { call slack.postMessage with { channel: "#general", text: input } respond with "Posted to Slack." } }

If an app isn't connected, a bot or workflow step that needs it will tell you which integration to connect.

Connect Slack

  1. Open Dashboard -> Integrations.
  2. Choose Slack.
  3. Approve the workspace in Slack's OAuth window.
  4. Pick the channels the bot is allowed to post into.
  5. Test with a safe message like Hello from Bothive.
hivelang
call slack.postMessage with { channel: "#support", text: "New refund request needs review." }

Connect Telegram

  1. Create a bot in Telegram with @BotFather.
  2. Copy the bot token.
  3. Open Dashboard -> Bots -> Channels.
  4. Choose Telegram and paste the token.
  5. Save, then message your Telegram bot to confirm it replies.

Use Telegram for lightweight community bots, private assistants, and mobile-first support.

Connect Notion

  1. Open Dashboard -> Integrations and choose Notion.
  2. Approve access to the right workspace.
  3. Select the pages or databases the bot can read/write.
  4. In your bot, use Notion actions only for the pages you approved.
hivelang
call notion.createPage with { database: "Content Calendar", title: "Draft launch post", body: "Outline the launch announcement and next steps." }

Connect the web widget

  1. Open the bot you want to publish.
  2. Go to Channels or Developer -> Embed.
  3. Enable the web widget.
  4. Copy the snippet into your site.
  5. Test as a visitor and check Live Logs for the run trace.

Troubleshooting

ProblemCheck
Bot says an app is not connectedReconnect the provider in Integrations
Slack message failsConfirm the bot can access that channel
Notion search is emptyShare the target page/database with the integration
Telegram does not replyConfirm the token and webhook/channel setup
Web widget loads but cannot answerCheck bot visibility, API key, and quota

Your own apps too

Need an app Bothive doesn't list? Use Connect your own API to turn any HTTP API into a set of capabilities.

Next steps

Quick tip

Use the test pane to iterate quickly. Every change you make is live — no need to save first.

Important

API keys are shown only once. Store them securely and never commit them to version control.

Best practice

Test your bot with edge cases before deployment. Try empty inputs, long messages, and special characters.

Pro tip

Chain multiple specialized bots in a workflow for better results than one general-purpose bot.

Connecting Integrations