To enable the Davis Assistant Slack app
- Go to the Davis Assistant Console at https://assistant.dynatrace.com in a new tab and sign in.
- Select the User menu in the top-right corner of the window and go to Account settings.
- Navigate to Integrations > Slack in the left menu.
- Select Add to Slack.
- If you aren't already, sign in to Slack.
- Select Authorize.
- In the Davis Assistant Console, select the Dynatrace environment you'd like the Slack workspace to be associated with and select Authorize.
- Navigate to the channel you'd like to add Davis Assistant to in Slack and send
/invite @davis. Then send
@davis helloto begin interacting with Davis Assistant.
- Optionally, navigate to the User menu > Account settings > Integrations > Slack and select a workspace and channel.
- Add tags to the filter inputs and Save.
Link Slack and Dynatrace user accounts
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
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
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 and typing
davis. Direct conversation with Davis Assistant is not visible to other users and Davis Assistant will always be listening.
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.
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
Remove Davis Assistant from a Slack channel
/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.