Weld now integrates with Dagster: once the syncs and models in an orchestration have finished, Weld can launch a Dagster job and wait for its run, or report a Dagster asset as materialized so your own sensors and automation conditions take it from there.
Teams that run dbt Core, Python models or machine learning jobs in Dagster used to start them on a fixed schedule, or write a sensor that polled Weld until the syncs were done. A late sync meant Dagster ran on yesterday's data, and the sensor was one more thing to maintain. Now the call to Dagster is a step in the Weld orchestration, so it happens the moment the data it depends on is in the warehouse.
Connect Dagster once
Open an orchestration, go to the Webhooks tab and click Set up Dagster connection. A workspace has one Dagster connection, which every orchestration's webhooks use. Choose how you run Dagster:
- Dagster+: your deployment URL, for example
https://your-org.dagster.plus/prod, and a user token whose user can launch runs and report asset events. - Self-hosted: the URL of your Dagster webserver. If a proxy in front of it asks for a credential, add an auth header name and value, and if the webserver only accepts known IPs, allow
3.64.84.139,3.65.119.169and35.156.133.78.
When you click Connect, Weld lists your code locations, so a wrong URL or token fails right there instead of on the first run.
Launch a job or report an asset
Click Create webhook, pick Dagster as the external system, and choose what it calls. The list holds the jobs and assets from your code locations:
- Run job launches the job and waits for the run. The webhook succeeds when the run succeeds, and a failed or cancelled run fails it. View in Dagster opens the run.
- Report as materialized records a materialization for the asset and succeeds as soon as Dagster accepts it. Whatever you have set to react to that asset, a sensor or an automation condition, starts the downstream work.
Under Select job(s) to run after, tick the jobs in the orchestration that must finish first: data source syncs, models, reverse ETL syncs or another webhook.
Runs that Weld launches carry the tag weld/triggered_by, and reported materializations say "Reported by a Weld orchestration", so you can tell them apart in Dagster.
Example: dbt Core in Dagster after the morning syncs
Say you run dbt Core from Dagster, in a job called dbt_daily_build, and the raw data comes from Shopify, HubSpot and Stripe through Weld.
- Create the orchestration, for example
daily_sales, running every day at 05:00 UTC, and add the Shopify, HubSpot and Stripe syncs. - Connect Dagster from the Webhooks tab, as above.
- Create the webhook
run_dbt_in_dagster, with External System set to Dagster. Pick Run jobdbt_daily_build, and under Select job(s) to run after tick the three syncs.
Every morning Weld syncs the three sources and launches dbt_daily_build once all of them have finished. The orchestration completes when the Dagster run succeeds, and a failed dbt run shows as a failed webhook in Weld, with a link to the run.
If your dbt assets are already set up with automation conditions, report the source asset as materialized instead, and let Dagster decide what to rebuild.
Available with orchestration
Dagster webhooks are part of orchestration, which comes with the Premium, Business and Enterprise plans. They work next to the dbt Cloud and Cube webhooks, so one orchestration can call several tools in order.
Get started
If Dagster waits on data that Weld syncs, add the call to the orchestration that loads it. The Dagster setup guide walks through each field.
FAQ
Yes. Choose Self-hosted and enter the URL of your Dagster webserver. Weld needs to reach it over HTTPS from the internet, and you can add an auth header for a proxy in front of it.
Launch a job when you want the Weld orchestration to wait for Dagster and fail if the run fails. Report an asset when Dagster already decides what to run through sensors or automation conditions, and only needs to know that the data is in.
No. Weld launches jobs without run config, so a job that requires config fails with Dagster's validation message. Give the job default config in Dagster, or report an asset instead.



