Skip to content

Slack

Connecting Hawkeye to your Slack account allows you to get alerts from your Slack workspace. This integration ensures efficient communication by keeping your team informed on important incidents and events.

For an easy connection, you will authenticate using a Slack App that you create within your Slack workspace.

Fig.1 - A walkthrough of how to add Slack connection to Hawkeye

Step 1: Add Slack Connection to Hawkeye

  1. Navigate to the Connections Tab: In the Hawkeye dashboard, go to the Connections section and click on New Connection.

    Create new Slack Connection dashboard page

    Fig.2 - Create New Slack Connection dashboard page

  2. Select Slack: From the list of available integrations, select Slack.

    slack-select-connection

    Fig.3 - Select Slack connection

  3. Connect to Slack: Click the Connect to slack button to setup your slack connection.

    Connect to Slack

    Fig.4 - Connect to Slack

  4. Authorize connection: In the connection page on your web browser, click to select a workspace at the left corner. Then click the Allow button to continue.

    slack-authorize-connection

    Fig.5 - Slack authorize connection

  5. Enter Email and Password: You’ll be required to sign in with your Hawkeye email address and password. Then click the Continue button to finalize your authentication.

  6. Successful connection: If your connection is successful, you’ll be prompted on your web browser, and you’ll see the page below on your Hawkeye dashboard.

    slack-connection-successful

    Fig.6 - Slack connection successful

  7. View all commands: Go to your Slack workspace where Hawkeye is connected, click into the message box, type this command /Hawkeye, and press enter to see the full list of the available Hawkeye commands.

    Command:

    slack-hawkeye-tag

    Fig.7 - Slack-hawkeye-tag

    Here is the result:

    slack-help-command

    Fig.8 - Hawkeye Slack commands overview

    How to list a project and set it globally

    • To see the list of all projects available in your Hawkeye account, use this command

      Terminal window
      /Hawkeye list Projects

    slack-list-projects

    Fig. 9- Slack list projects

    • To set a project globally , use the command /Hawkeye set global-project_name. (This will prompt Hawkeye to display incidents only for the projects you have set).

    Example: Using Kroger as the project to illustrate how to set a project globally.

    /Hawkeye set global-project Kroger. This will instruct Hawkeye to display incidents only for Kroger project.