<@U088WCP3B4P> Can OSS elementary support dbt sour...
# ask-elementary-ai
y
@kapa.ai Can OSS elementary support dbt source freshness for teams alert?
k
A message from kapa.ai
Yes, OSS Elementary does support sending alerts for dbt source freshness failures to Microsoft Teams. To enable this, you need to: 1. Run dbt source freshness. 2. Immediately after, run the command:
Copy code
edr run-operation upload-source-freshness
(Make sure to use the --project-dir argument if needed.) 3. Then, execute:
Copy code
edr monitor --teams-webhook <your_teams_webhook_url>
or configure the webhook in your config.yml file. This will upload the source freshness results and trigger alerts (including Teams alerts) if there are any failures. Note that both the dbt source freshness and upload-source-freshness commands must be run from the same machine. Also, this feature is not supported in dbt Cloud, but it is supported in OSS Elementary CLI deployments [Setup Teams alerts](https://docs.elementary-data.com/oss/guides/alerts/send-teams-alerts). For more details, see the official documentation: [Setup Teams alerts](https://docs.elementary-data.com/oss/guides/alerts/send-teams-alerts).