To enable the Davis Assistant Slack app:
Go to https://davis.dynatrace.com in a new tab and sign in.
Click on the User Profile icon in the top-right corner of the window and 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, sign in to Slack.
Click the Authorize button.
If you receive the error
Already installed to this workspace, you must remove the Davis Assistant Slack app from your workspace and re-add the Davis Assistant Slack app to your workspace if you'd like to change the associated environment. After removing, follow the steps above to add the Davis Assistant 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 Assistant chatbot to in Slack and send
/invite @davis. Then send
@davis helloto begin interacting with Davis.
Interact with Davis Assistant in a Slack channel
Invite a Davis Assistant chatbot to a channel by sending
/invite @davis. Next, make Davis Assistant listen by mentioning him 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
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 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. Direct conversation with Davis Assistant is not visible to other users and Davis Assistant will always be listening.
You aren't required to preface messages with
@davis in direct messages.
Change the environment associated with a Slack workspace
Davis Assistant supports interaction between a single Dynatrace environment per Slack workspace. If you'd like to change the associated environment, you must remove the Davis Assistant 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).
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.
Since notifications aren't associated with a single user, Davis Assistant won't listen in a thread attached to a notification, unless he is mentioned with a message containing
Remove a Davis Assistant chatbot from a Slack channel
/remove @davis in the channel you'd like to remove the Davis Assistant chatbot from.
Removing a 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.