Cloud Environment-Scoped Job Run
A 3-step recipe with dbt. We can help you get access.
Recipe · 3 steps
Cloud Environment-Scoped Job Run
with dbt
Select an environment, create a job in it, and trigger that job.
- List the account's environments and select the first one as the target.
- Create a job in the supplied project bound to the selected environment.
- Trigger the first run of the newly created job.
What you'll need to have ready
- accountId: The dbt Cloud account id.
- projectId: The project the new job belongs to.
- jobName: A display name for the new job.
- executeSteps: The list of dbt commands the job runs.
- token: The dbt Cloud service token (sent as Authorization Bearer Token).
- cause: A human-readable reason for the run.
For your developer
Arazzo workflow dbt:environment-job-run, 3 operations: listEnvironments → createJob → triggerJobRun. Specs on APIs.io.