capabilities.work

Cloud Bootstrap From Account to First Run

A 5-step recipe with dbt. We can help you get access.

Recipe · 5 steps

Cloud Bootstrap From Account to First Run

with dbt

From a token alone, resolve account/project/environment, create a job, and run it.

  1. List accounts and select the first one.
  2. List the selected account's projects and pick the first.
  3. List the account's environments and pick the first.
  4. Create a job bound to the resolved project and environment.
  5. Trigger the first run of the newly created job.
What you'll need to have ready
  • 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 first run.
For your developer

Arazzo workflow dbt:bootstrap-account-and-run, 5 operations: listAccounts → listProjects → listEnvironments → createJob → triggerJobRun. Specs on APIs.io.