Skip to content

Webhook Integration Guide

Aoi Kurokawa edited this page May 13, 2025 · 3 revisions

This guide provides step-by-step instructions for setting up webhooks with Discord, Slack, and Telegram to receive notifications from Jito Bell.

Discord Webhook Setup

  1. Open Discord and go to the server where you want to receive notifications
  2. Find the channel you want to use
  3. Right-click on the channel and select "Edit Channel"
  4. Go to "Integrations" tab
Discord Integrations Tab
  1. Click on "Webhooks"
Discord Webhooks Button
  1. Click "New Webhook"
Discord New Webhook Button
  1. Name your webhook and set an avatar (optional)
Discord Webhook Configuration
  1. Click "Copy Webhook URL" - you'll need this for your code

Slack Webhook Setup

  1. Go to your Slack workspace and create a new app at https://api.slack.com/apps
  2. Click "Create New App" → "From scratch"
Slack From Scratch Option
  1. Name your app (e.g., "Jito Bell") and select your workspace
Slack App Configuration
  1. Once created, go to "Incoming Webhooks" in the sidebar
Slack Incoming Webhooks Menu
  1. Toggle "Activate Incoming Webhooks" to on
  2. Click "Add New Webhook to Workspace"
  3. Choose the channel you want to post to
  4. Copy the webhook URL provided

Telegram Webhook Setup

Step 1: Create a Telegram Bot

  1. Open the Telegram app and search for "@BotFather"
  2. Start a chat with BotFather and send the command /newbot
  3. Follow the prompts to name your bot (e.g., "Jito Bell Bot")
  4. Choose a username for your bot (must end with "bot", e.g., "JitoBellBot")
  5. Once created, BotFather will provide a bot token - save this securely

Step 2: Create a Telegram Channel or Group

  1. Create a new channel or group in Telegram where notifications will be sent
  2. Make your bot an administrator of the channel/group
    • For channels: Got to channel info -> Administrators -> Add Administrator -> search for your bot
    • For groups: Go to group info -> Administrators -> Add Admin -> search for your bot
  3. Give the bot permission to post messages

Step 3: Get Chat ID

For a channel:

  1. Post any message to the channel
  2. Visit https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates in your browser (replace <YOUR_BOT_TOKEN> with your actual token)
  3. Look for the "chat" object and note the "id" value (usually negative for channels, e.g., "-1001234567890")

For a group:

  1. Add the bot to the group
  2. Send a message in the group
  3. Visit the same URL as above and find the "chat" object with the "id" value

References