-
Notifications
You must be signed in to change notification settings - Fork 1
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.
- Open Discord and go to the server where you want to receive notifications
- Find the channel you want to use
- Right-click on the channel and select "Edit Channel"
- Go to "Integrations" tab
- Click on "Webhooks"
- Click "New Webhook"
- Name your webhook and set an avatar (optional)
- Click "Copy Webhook URL" - you'll need this for your code
- Go to your Slack workspace and create a new app at https://api.slack.com/apps
- Click "Create New App" → "From scratch"
- Name your app (e.g., "Jito Bell") and select your workspace
- Once created, go to "Incoming Webhooks" in the sidebar
- Toggle "Activate Incoming Webhooks" to on
- Click "Add New Webhook to Workspace"
- Choose the channel you want to post to
- Copy the webhook URL provided
- Open the Telegram app and search for "@BotFather"
- Start a chat with BotFather and send the command
/newbot - Follow the prompts to name your bot (e.g., "Jito Bell Bot")
- Choose a username for your bot (must end with "bot", e.g., "JitoBellBot")
- Once created, BotFather will provide a bot token - save this securely
- Create a new channel or group in Telegram where notifications will be sent
- 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
- Give the bot permission to post messages
- Post any message to the channel
- Visit https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates in your browser (replace <YOUR_BOT_TOKEN> with your actual token)
- Look for the "chat" object and note the "id" value (usually negative for channels, e.g., "-1001234567890")
- Add the bot to the group
- Send a message in the group
- Visit the same URL as above and find the "chat" object with the "id" value