<@U088WCP3B4P> which configs do i need to pass in ...
# ask-elementary-ai
l
@kapa.ai which configs do i need to pass in my generic dbt test to tag someone as a user or subscriber in a teams message
k
A message from kapa.ai
To tag someone as an owner or subscriber in alerts (such as Slack messages) for a generic dbt test using Elementary, you need to add the relevant configuration in the test's meta block. The configuration should look like this:
Copy code
yaml {{ config(     meta={         "owner": "@username",           # Tag as owner         "subscribers": ["@user1", "@user2"]  # Tag as subscribers     } ) }}
- Use the
@
symbol followed by the Slack user's email prefix (e.g.,
@jessica.jones
for
[email protected]
). - You can specify a single owner or a list of owners, and similarly for subscribers. Note: The knowledge sources only mention tagging users in Slack alerts, not Microsoft Teams. If you are specifically asking about Teams, I'm sorry, but there's no information in the knowledge sources about configuring Elementary to tag users in Teams messages—only Slack is documented for this feature [Owners and subscribers](https://docs.elementary-data.com/features/alerts-and-incidents/owners-and-subscribers), [Alert properties in
.yml
files](https://docs.elementary-data.com/oss/guides/alerts/alerts-configuration#alert-properties-in-yml-files). If you are using Slack, the above configuration will ensure the specified users are tagged in the alert messages. If you need Teams support, please consult the official documentation or reach out to Elementary support, as the knowledge sources do not cover this scenario.