Enable the Davis Assistant Slack app

To enable the Davis Assistant Slack app

  1. Go to the Davis Assistant Console at https://assistant.dynatrace.com in a new tab and sign in.
  2. Select the User menu User menu in the top-right corner of the window and go to Account settings.
  3. Navigate to Integrations > Slack in the left menu.
    Add Davis Assistant Slack app
  4. Select Add to Slack.
  5. If you aren't already, sign in to Slack.
  6. Select Authorize. Add Davis Assistant Slack app
  7. In the Davis Assistant Console, select the Dynatrace environment you'd like the Slack workspace to be associated with and select Authorize.
    Add Davis Assistant Slack app
  8. Navigate to the channel you'd like to add Davis Assistant to in Slack and send /invite @davis. Then send @davis hello to begin interacting with Davis Assistant.
    Add Davis Assistant Slack app
  9. Optionally, navigate to the User menu > Account settings > Integrations > Slack and select a workspace and channel.
    Add Davis Assistant Slack app
  10. Add tags to the filter inputs and Save.

Davis Assistant allows all Slack users to link their Slack user account with their Dynatrace user account. Enter the slash command /davis-assistant login in Slack, then select the link provided in the response. You should now be able to access the Slack channel settings in the Davis Assistant Console: User menu > Account settings > Integrations > Slack. To unlink a user, enter the slash command /davis-assistant logout.

Interact with Davis Assistant in a Slack channel

Invite Davis Assistant to a channel by sending /invite @davis. Next, make Davis Assistant listen by using an @mention in a message such as @davis 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. Mentioning another user in the thread makes Davis Assistant stop listening. Davis Assistant also stops listening if another user adds a message to the thread. To resume listening in the thread, send a message containing @davis.

Note

When Davis Assistant is listening, you don't need to preface your messages with @davis. 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. Add "davis" to your Direct Messages list in Slack by clicking Open a direct message Open a Slack direct message and typing davis. 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 in direct messages.

Change the environment associated with a Slack channel

Davis Assistant supports interaction between a single Dynatrace environment per Slack channel. If you'd like to change the associated environment, navigate to the User menu > Account settings > Integrations > Slack in the Davis Assistant Console and select a workspace and channel. Change the environment and select Save.

Each workspace can only be associated with one environment.

Enable Davis Assistant to send notifications through Slack

To enable notifications, send enable notifications in a direct message to Davis Assistant or @davis enable notifications in a channel that Davis Assistant has joined.

Note

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

Learn more.

Remove Davis Assistant from a Slack channel

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

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

Remove the Davis Assistant Slack app from a Slack workspace

Open Slack and click Manage apps under the Slack user menu, then click the davis app. Next, select the Settings tab and click the Remove App button at the bottom of the page.