Davis Assistant for Slack

To enable the Davis Assistant Slack app

  1. Open Davis Assistant Web (https://assistant.dynatrace.com) in a new tab and sign in.

  2. Select Configurations in the navigation menu.

  3. The Integrations page should be displayed—select the Slack tile.

  4. Select Add to Slack.

  5. If you aren't already, sign in to Slack.

  6. Select Authorize.
    Authorize the Davis Assistant Slack app

  7. In Davis Assistant Web, select the Dynatrace environment you'd like the Slack workspace to be associated with and select Authorize.
    Add Slack app

    Note that you can select a different Dynatrace environment later on the Davis Assistant Web Slack integration page.

  8. Navigate to the channel you'd like to add Davis Assistant to in Slack and send /invite @Davis Assistant. Then send @Davis Assistant hello to begin interacting with Davis Assistant.

If you've linked your Slack and Dynatrace accounts, you can adjust Slack integration settings in Davis Assistant Web later.

  1. Optional Link your Slack and Dynatrace accounts.

  2. Navigate to Slack integration settings in Davis Assistant Web (Configurations > Integrations > Slack) and select a workspace and channel.
    Add Davis Assistant Slack app

  3. Optional Select a Dynatrace environment for the channel (or direct messages), add tags to the filter interactions, and enable notifications. Save changes at the bottom of the page. Add Davis Assistant Slack app

    Note that if you enable notifications, you'll see an additional field for filters that apply specifically to notifications. These tags are in addition to interaction tags to make notifications more specific.

Davis Assistant allows all Slack users to link their Slack user account with their Dynatrace user account. This enables you to modify Slack integration settings in Davis Assistant Web. You can change the Dynatrace environment associated with a Slack channel or your direct messages, apply tags to filter interactions, and enable notifications.

Enter the slash command /davis-assistant link in Slack, then select the link provided in the response. You should now be able to access Slack channel settings in Davis Assistant Web: select Configurations in the navigation menu, then select the Slack tile on the Integrations page.

To unlink a user, enter the slash command /davis-assistant unlink.

Interact with Davis Assistant in a Slack channel

Invite Davis Assistant to a channel by sending /invite @Davis Assistant. Next, make Davis Assistant listen by using an @mention in a message such as @Davis Assistant what happened yesterday?. Davis Assistant responds in a thread attached to the initial request. In the thread, Davis Assistant only listens to the user that initialized the interaction. If you mention another user in the thread, Davis Assistant stops listening. Davis Assistant also stops listening if another user adds a message to the thread. To re-engage Davis Assistant in the thread, send a message containing @Davis Assistant.

Note

When Davis Assistant is listening, you don't need to preface your messages with @Davis Assistant. Other users in the channel can also interact with Davis Assistant and view your interactions. Buttons in cards only work for the specific user that Davis Assistant is responding to.

Interact with Davis Assistant directly in Slack

As an alternative to interacting with Davis Assistant in a channel, you can interact directly in a direct message—click Open a direct message Open a Slack direct message and type davis, then select Davis Assistant from the auto-complete options.

Start a direct message with Davis Assistant

Direct conversation with Davis Assistant is not visible to other users and Davis Assistant will always be listening.

Note

You don't need to preface messages with @Davis Assistant in direct messages.

Change the Dynatrace environment associated with a Slack channel

Davis Assistant supports interaction about a single Dynatrace environment per Slack channel. If you'd like to change the associated environment, first ensure that you link your Dynatrace and Slack accounts.

In Davis Assistant Web, select Configurations in the navigation menu, then select the Slack tile on the Integrations page. Select a workspace and channel. Change the environment and select Save changes. Note that this changes the environment for all users.

Each channel can only be associated with one environment.

Enable Davis Assistant notifications through Slack

Within Slack, you can enable push notifications about your environment by sending enable notifications in a direct message to Davis Assistant or @Davis Assistant enable notifications in a channel that Davis Assistant has joined. To enable tag-based filtering of notifications, however, you'll need to access Davis Assistant Web.

You can also enable push notifications in Slack by accessing settings in Davis Assistant Web.

  1. Open Slack and select the channel you'd like to add notifications to.
  2. If the channel doesn’t already have Davis Assistant, enter the command /invite @Davis Assistant in Slack.
  3. Navigate to Davis Assistant Web, select Configurations in the navigation menu, then select the Slack tile on the Integrations page.
  4. Select Enable notifications.
  5. Optional Add tags to Filter notifications by tags to reduce unnecessary notifications.
  6. Select Save changes at the bottom of the page.

Enable Davis Assistant Slack app notifications

Note

Since push notifications aren't associated with a specific user, Davis Assistant won't listen in a thread attached to a notification, unless mentioned with a message containing @Davis Assistant.

Remove Davis Assistant from a Slack channel

Send /remove @Davis Assistant in the channel you'd like to remove Davis Assistant from.

This doesn't remove the Davis Assistant Slack app from your workspace.

Remove the Davis Assistant app from a Slack workspace

Open Slack and select Manage apps in the Slack user menu, then select the Davis Assistant app. Next, select the Settings tab and select Remove App at the bottom of the page.