LogoLogo
  • Welcome to Firefly Documentation
  • Introduction
    • What is Firefly?
    • Who is Firefly for?
    • Why use Firefly?
    • Terminology (Glossary)
  • Key Features
    • Infrastructure-as-Code Automation
    • Cloud Asset Inventory
    • Drift Detection & Remediation
    • Policy-as-Code for Compliance & Governance
    • Cost Visibility & Optimization
    • AI Assistant
    • ChatOps Integration
  • Getting Started
    • Account Setup & Onboarding
    • Connecting Cloud Accounts
    • UI Walkthrough & Navigation
    • First Steps in Firefly
  • Detailed Guides
    • Dashboard Overview
    • Cloud Asset Inventory
      • Remediating Drifts
      • Deleting Assets
      • Creating IaC-Ignore Rules
      • Creating Exclude-Drift Rules
    • Policy & Governance
      • Creating Policy-as-Code Governance Rules
      • Remediating Policy Violations
    • Workflows & Guardrails
      • Creating Workflows
      • Creating Guardrail Rules
    • Codification
    • Self-Service
    • IaC Explorer
    • Event Center
    • Backup and Disaster Recovery
    • Notifications
    • User Management
    • SSO Configuration
  • Integrations
    • Integrations Overview
    • Integrating Data Sources
      • AWS
      • Azure
      • Google Cloud
      • Kubernetes
      • Akamai
      • Datadog
      • New Relic
      • Okta
      • GitHub
      • Cloudflare
      • NS1
      • PagerDuty
      • MongoDB Atlas
      • HashiCorp Vault
    • Integrating IaC Remote State
      • Terraform Cloud
      • Google Cloud Storage
      • env0
      • HashiCorp Consul
      • Firefly States Redactor
    • Integrating Version Control
      • GitHub
      • GitLab
      • Azure DevOps
      • CodeCommit
      • Bitbucket
    • Integrating Notifications
      • Slack
      • Microsoft Teams
      • PagerDuty
      • Opsgenie
      • Torq
      • Webex
      • Google Chat
      • Webhook
    • Integrating Project Management
      • Jira
      • ServiceNow
    • Integrating Workflows with CI/CD
    • Integrating Backstage
    • Integrating MCP
  • Use Cases & Best Practices
    • Cloud Governance & Visibility
    • Cost Optimization Strategies
    • Compliance and Security Best Practices
    • Infrastructure Automation & Self-Service
    • Best Practices and Implementation Tips
  • Analytics & Reporting
    • Analytics Dashboard Overview
    • Using Analytics for Improvement
    • Exporting and Sharing Reports
    • Analytics Security and Privacy
  • Code Snippets & Examples
    • Terraform Snippet for an AWS EC2 Instance (Codified via Firefly)
    • Example Rego Policy (OPA) for a Custom Rule
    • GitHub Actions Workflow YAML for Firefly Integration
    • JSON Output Example: Exporting Inventory
  • Troubleshooting & FAQs
    • Common Issues and Solutions
    • FAQs
  • General Information
    • Firefly API
      • Authentication
      • Inventory
      • Codification
      • Workflows
      • Self-Service
      • Policy & Governance
      • IaC Explorer
      • Event Center
      • Backup & Disaster Recovery
      • Notifications
      • Integrations
      • Identity & Access Management
    • Security & Compliance
    • Pricing Tiers & Add-ons
    • Contacting Support
Powered by GitBook
On this page
  • Overview
  • Prerequisites
  • Setup Procedure
  • Slack App (Recommended Method)
  • Slack Webhook (Legacy Method)
  • Features Enabled
  • Best Practices
  • Troubleshooting

Was this helpful?

  1. Integrations
  2. Integrating Notifications

Slack

PreviousIntegrating NotificationsNextMicrosoft Teams

Last updated 1 month ago

Was this helpful?

Overview

Firefly integrates with Slack to provide rich notifications for various events and alerts. This integration enables teams to receive real-time updates about infrastructure changes, policy violations, drift detection, and other important events directly in their Slack channels.

When integrating an Slack, you have two primary methods:

Prerequisites

  • A Slack workspace with administrative access

  • Appropriate permissions to install apps or create webhooks

  • Channels where you want to receive Firefly notifications

Setup Procedure

Slack App (Recommended Method)

  1. In Firefly, select Settings > Integrations

  2. Select Add New > Slack (under messaging integrations)

  3. Select Slack App from the Integration type field

  4. Click to install the Firefly Slack application

  5. Authorize the app in your workspace

  6. Select the desired channel for notifications

  7. Configure notification settings in Firefly

Slack Webhook (Legacy Method)

Note: This integration is deprecated. We recommend using the Slack App integration.

  1. Generate a webhook URL for your Slack channel:

    • Select Add to Slack

    • Choose a channel

    • Select Add Incoming Webhooks integration

    • Copy the Webhook URL

  2. In Firefly, select Settings > Integrations

  3. Select Add New > Slack

  4. Select Slack Webhook from the Integration type field

  5. Enter a descriptive name in the Nickname field

  6. Paste the webhook URL

  7. Select Next > Done

Features Enabled

  • Real-time Notifications: Receive immediate alerts for important events

  • Rich Message Formatting: Detailed, formatted messages with direct links to Firefly

  • Customizable Alerts: Configure which events trigger notifications

  • Channel-specific Routing: Send different types of alerts to different channels

  • Interactive Messages: Click through to Firefly directly from Slack notifications

Best Practices

  • Use the Slack App integration method over webhooks when possible

  • Create dedicated channels for different types of notifications

  • Configure notification rules to avoid alert fatigue

  • Regularly review and update notification settings

  • Ensure the Firefly bot is invited to all relevant channels

Troubleshooting

  1. For Slack App issues:

    • Verify the app is properly authorized

    • Check if the bot user is present in the channel

    • Ensure notification settings are properly configured

  2. For Webhook issues:

    • Verify the webhook URL is valid and not expired

    • Check channel permissions

    • Confirm the webhook hasn't been deactivated

  3. For notification issues:

    • Review notification rules in Firefly

    • Check Slack's notification settings

    • Verify channel message permissions

Visit the page

Incoming Webhooks
Slack App
Slack Webhook