Skip to main content

Slack

CloudCADI integrates with Slack to send cost variance alerts, user-created alerts, and daily reports highlighting the top three cost utilizations. This helps teams monitor costs and optimize cloud spending.

info Prerequisites Before starting the setup, ensure you have:

  • An active CloudCADI account with administrator permissions.
  • Administrative access to your target Slack workspace to create and install applications.

Slack Integration Setup Walkthrough​

This document describes the step-by-step procedure to create a Slack app for CloudCADI and connect your Slack workspace to receive alerts and notifications.

Step 1 - Create a Slack App in Slack API​

  1. Navigate to Slack API: In your browser, navigate to the Slack API portal at https://api.slack.com/.

    Slack API portal

  2. Open Manage Apps: On the developer docs page, click MANAGE APPS in the top-right corner to open your applications dashboard.

    Manage Apps

  3. Create an App: On the Your Apps page, click Create an App.

    Create an App

  4. Select Manifest Option: In the Create new app modal, under From scratch, select Paste a manifest and click Continue.

    Paste a manifest

  5. Select YAML Tab: In the Create from a manifest dialog, click the YAML tab.

    Select YAML tab

  6. Configure App Manifest: Replace the existing template code with the following CloudCADI app manifest configuration:

    display_information:
    name: CloudCADI
    description: CloudCADI Notification App
    long_description: The CloudCADI Slack Notification App is a powerful tool
    designed to integrate seamlessly with your Slack workspace, delivering
    real-time notifications and alerts related to your cloud resources. This
    integration helps you stay informed about critical changes and trends in
    your cloud infrastructure, allowing you to respond promptly and effectively.
    background_color: "#273265"
    features:
    app_home:
    home_tab_enabled: false
    messages_tab_enabled: true
    messages_tab_read_only_enabled: true
    bot_user:
    display_name: CloudCADI
    always_online: true
    oauth_config:
    scopes:
    bot:
    - app_mentions:read
    - channels:join
    - channels:read
    - chat:write
    - chat:write.public
    - groups:read
    bot_optional:
    - app_mentions:read
    pkce_enabled: false
    settings:
    event_subscriptions:
    bot_events:
    - app_mention
    interactivity:
    is_enabled: true
    org_deploy_enabled: false
    socket_mode_enabled: true
    is_mcp_enabled: false
    token_rotation_enabled: false
    app_level_token_rotation_enabled: false
  7. Select Workspace: In the Workspace dropdown, select your workspace (e.g. ABC Workspace).

    Select workspace

  8. Confirm and Proceed: Verify that your workspace is selected and click Next.

    Verify workspace selection and click Next

  9. Review and Create App: On the Review details and create your app screen, review the app configurations, features, and permissions, then click Create.

    Review app details and click Create

  10. Copy App Credentials: Under Settings → Basic Information, navigate to the App Credentials section and copy your credentials:

    • Copy your Client ID.
    • Under Client Secret, click Show and copy your Client Secret. (You will paste these into CloudCADI in the next step).

    Copy Client ID and Client Secret in Slack API

Step 2 - Connect Slack in CloudCADI​

  1. Open Integrations in CloudCADI: In a new browser tab, log in to CloudCADI, navigate to Settings → Integrations, locate the Slack card, and click Connect .

    Click Connect on Slack card in CloudCADI

  2. Enter Credentials and Copy Redirect URI: In the Slack Integration dialog:

    • Paste your copied Client ID.
    • Paste your copied Client Secret.
    • Click the copy icon to copy the Redirect URI to your clipboard.

    Enter credentials and copy Redirect URI in CloudCADI

Step 3 - Configure Redirect URL in Slack API​

  1. Navigate to OAuth & Permissions: Return to the Slack API portal. In the left navigation menu under Features, click OAuth & Permissions.

    Click OAuth & Permissions in Slack API

  2. Add Redirect URL: Scroll down to the Redirect URLs section and click Add New Redirect URL.

    Click Add New Redirect URL

  3. Prepare Redirect URL Input: An input field will appear to enter the redirect URL copied from CloudCADI.

    Redirect URL input field

  4. Paste Redirect URL in Slack API: Paste the copied Redirect URL into the field and click Add.

    Paste Redirect URL and click Add

    warning

    Slack only accepts secure redirect URLs. Make sure the Redirect URL starts with https:// and not http://.

  5. Save Redirect URLs: Click Save URLs to save the configured Redirect URL in Slack API.

    Click Save URLs

Step 4 - Authorize and Complete Integration​

  1. Save Credentials in CloudCADI: Return to CloudCADI and click Save Credentials to proceed with workspace authorization.

    Click Save Credentials in CloudCADI

  2. Authorize CloudCADI in Slack: You will be redirected to the Slack authorization screen. Review the requested permissions, select your workspace, and click Allow.

    Review permissions and click Allow

  3. Configure Slack Channels: After authorization succeeds, CloudCADI displays Slack as connected. Click Add Channel to link your Slack alerting channel.

    Click Add Channel in CloudCADI

  4. Open Channel Selection: In the channel configuration drawer, click the channel dropdown to view available channels.

    Select channel dropdown panel

  5. Invite Bot in Slack: Open your Slack workspace and navigate to the target alerting channel. Mention @CloudCADI and click Add Them when prompted by Slackbot.

    Invite CloudCADI bot to Slack channel

  6. Confirm Bot in Channel: Slackbot confirms that @CloudCADI has been successfully added to the channel.

    Slackbot confirmation in channel

  7. Add Channel in CloudCADI: Return to CloudCADI, select the channel from the dropdown, and click Add.

    Select channel and click Add in CloudCADI

  8. Verify Successful Connection: The channel is now listed under Connected Channels, indicating that the Slack integration is active and complete.

    Slack channel connected successfully

info

Your channel is now configured to receive cost variance alerts, user-created alerts, and daily top-three utilization reports.