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 request such as
@davis what happened yesterday?. Davis will continue to listen for a few seconds while waiting for a response. The current listening status is displayed at the bottom of the response cards that are sent by Davis.
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.
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.