To enable the Davis Assistant Slack app
Open Davis Assistant Web (https://assistant.dynatrace.com) in a new tab and sign in.
Select Configurations in the navigation menu.
The Integrations page should be displayed—select the Slack tile.
Select Add to Slack.
If you aren't already, sign in to Slack.
In Davis Assistant Web, select the Dynatrace environment you'd like the Slack workspace to be associated with and select Authorize.
You can select a different Dynatrace environment later on the Davis Assistant Web Slack integration page.
Navigate to the channel you'd like to add Davis Assistant to in Slack and send
/invite @Davis Assistant. Then send
@Davis Assistant helloto begin interacting with Davis Assistant.
If you've linked your Slack and Dynatrace accounts, you can adjust Slack integration settings in Davis Assistant Web later.
optional Link your Slack and Dynatrace accounts.
Navigate to Slack integration settings in Davis Assistant Web (Configurations > Integrations > Slack) and select a workspace and channel.
Note that if you enable notifications, you'll see an additional field for filters that apply specifically to notifications. These tags are in addition to interaction tags to make notifications more specific.
Link Slack and Dynatrace user accounts
Davis Assistant allows all Slack users to link their Slack user account with their Dynatrace user account. This enables you to modify Slack integration settings in Davis Assistant Web. You can change the Dynatrace environment associated with a Slack channel or your direct messages, apply tags to filter interactions, and enable notifications.
Enter the slash command
/davis-assistant link in Slack, then select the link provided in the response. You should now be able to access Slack channel settings in Davis Assistant Web: select Configurations in the navigation menu, then select the Slack tile on the Integrations page.
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 Assistant. Next, make Davis Assistant listen by using an @mention in a message such as
@Davis Assistant 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. If you mention another user in the thread, Davis Assistant stops listening. Davis Assistant also stops listening if another user adds a message to the thread. To re-engage Davis Assistant in the thread, send a message containing
When Davis Assistant is listening, you don't need to preface your messages with
@Davis Assistant. 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—click Open a direct message and type
davis, then select Davis Assistant from the auto-complete options.
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 Assistant in direct messages.
Change the Dynatrace environment associated with a Slack channel
Davis Assistant supports interaction about a single Dynatrace environment per Slack channel. If you'd like to change the associated environment, first ensure that you link your Dynatrace and Slack accounts.
In Davis Assistant Web, select Configurations in the navigation menu, then select the Slack tile on the Integrations page. Select a workspace and channel. Change the environment and select Save changes. Note that this changes the environment for all users.
Each channel can only be associated with one environment.
Enable Davis Assistant notifications through Slack
Within Slack, you can enable push notifications about your environment by sending
enable notifications in a direct message to Davis Assistant or
@Davis Assistant enable notifications in a channel that Davis Assistant has joined. To enable tag-based filtering of notifications, however, you'll need to access Davis Assistant Web.
You can also enable push notifications in Slack by accessing settings in Davis Assistant Web.
- Open Slack and select the channel you'd like to add notifications to.
- If the channel doesn’t already have Davis Assistant, enter the command
/invite @Davis Assistantin Slack.
- Navigate to Davis Assistant Web, select Configurations in the navigation menu, then select the Slack tile on the Integrations page.
- Select Enable notifications.
- optional Add tags to Filter notifications by tags to reduce unnecessary notifications.
- Select Save changes at the bottom of the page.
Since push notifications aren't associated with a specific 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 Assistant in the channel you'd like to remove Davis Assistant from.
This doesn't remove the Davis Assistant Slack app from your workspace.
Remove the Davis Assistant app from a Slack workspace
Open Slack and select Manage apps in the Slack user menu, then select the Davis Assistant app. Next, select the Settings tab and select Remove App at the bottom of the page.