To enable the Davis Slack app
Go to davis.dynatrace.com in a new tab, sign in and click on the User Profile button (icon) in the top-right corner of the window, then click on Account settings.
Navigate to Integrations > Slack app in the navigation bar on the left-side.
Click the Add to Slack button.
If you aren't already signed in to Slack, sign in.
Click the Authorize button.
Note: If you receive the error
Already installed to this workspace, you must remove the Davis Slack app from your workspace and re-add the Davis Slack app to your workspace if you'd like to change the associated environment. After removing, follow the steps above to add the Davis Slack app back to your workspace with a different associated environment.
Select the Dynatrace environment you'd like the Slack workspace to be associated with and click Select environment.
Navigate to the channel you'd like to add a Davis chatbot to in Slack and send
/invite @davis. Then send
@davis helloto begin interacting with Davis.
Interact with Davis in a Slack channel
Invite a Davis chatbot to a channel by sending
/invite @davis. Next, make Davis listen by mentioning him in a message such as
@davis what happened yesterday?. Davis will respond in a thread attached to the initial request. In the thread, Davis will only listen to the user that initialized the interaction. Mentioning another user in the thread will make Davis stop listening. Davis will also stop listening, if another user adds a message to the thread. To resume listening in the thread, send a message containing
Note: When Davis is listening, you don't need to preface your messages with
@davis. Other users in the channel will also be able to interact with Davis and view your interactions. Buttons in cards only work for the specific user that Davis is responding to.
Interact with Davis directly in Slack
As an alternative to interacting with Davis in a channel, you can interact directly with him in a direct message. Add "davis" to your Direct Messages list in Slack by clicking the plus icon next to Direct Messages and typing
davis. The conversation will not be visible to any other users and Davis will always be listening.
Note: You aren't required to preface messages with
@davis in direct messages.
Changing the environment associated with a Slack workspace
Davis supports interaction between a single Dynatrace environment per Slack workspace. If you'd like to change the associated environment, you must remove the Davis Slack app from the workspace and re-add the Davis Slack app using the Add to Slack button in the Slack app (available at Account settings > Integrations).
Note: Each workspace can only be associated with one environment.
Enabling Davis to send notifications through Slack
To enable notifications, send
enable notifications in a direct message to Davis or
@davis enable notifications in a channel that Davis has joined.
Note: Since notifications aren't associated with a single user, Davis won't listen in a thread attached to a notification, unless he is mentioned with a message containing
Remove a Davis chatbot from a Slack channel
/remove @davis in the channel you'd like to remove the Davis chatbot from.
Note: Removing a chatbot doesn't remove the Davis Slack app from your workspace.
Remove the Davis 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.