Integrations

Connect Watchtower to your favorite tools.

Integrations

Watchtower can send real-time alerts to your team's communication channels. Here's how to set up our most popular integrations.

Slack

To receive Watchtower alerts in Slack, you'll need to create an Incoming Webhook for your workspace.

  1. Create a Slack App:

    • Go to the Slack API site and click "Create New App".
    • Choose "From scratch", name your app (e.g., "Watchtower Alerts"), and select your workspace.
  2. Enable Incoming Webhooks:

    • In your app's settings, go to "Incoming Webhooks" and toggle it on.
    • Click "Add New Webhook to Workspace" and choose the channel where you want to receive alerts.
  3. Copy the Webhook URL:

    • You'll be given a webhook URL that looks like this: https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX
  4. Add to Watchtower:

    • In your Watchtower dashboard, go to the Alerts page.
    • Create a new alert, choose "Slack" as the channel, and paste your webhook URL.

Now, whenever your alert is triggered, you'll get a notification in your selected Slack channel.

Discord

Setting up Discord alerts is similar to Slack. You'll need to create a webhook in your Discord server.

  1. Open Server Settings:

    • In your Discord server, right-click on the channel where you want to receive alerts and choose "Edit Channel".
  2. Go to Integrations:

    • In the channel settings, click on the "Integrations" tab.
  3. Create a Webhook:

    • Click "Create Webhook", give it a name (e.g., "Watchtower"), and copy the Webhook URL.
  4. Add to Watchtower:

    • In the Alerts page of your Watchtower dashboard, create a new alert, select "Discord", and paste the webhook URL.

Telegram

To send alerts to a Telegram chat, you'll need to create a Telegram Bot and get your Chat ID.

  1. Create a Bot with BotFather:

    • Open Telegram and search for the @BotFather user.
    • Start a chat and send the /newbot command.
    • Follow the prompts to name your bot. BotFather will give you a token for your new bot.
  2. Get Your Chat ID:

    • Search for your new bot in Telegram and send it a message.
    • Then, open your browser and go to https://api.telegram.org/botYOUR_TOKEN/getUpdates (replace YOUR_TOKEN with the token you received).
    • You'll see a JSON response. Look for the chat object and find the id. This is your Chat ID.
  3. Add to Watchtower:

    • On the Alerts page, create a new alert and choose "Telegram".
    • You'll need to provide both your Bot Token and Chat ID.

Now your Watchtower alerts will be sent directly to your Telegram chat.