Skip to main contentCreatePhase 3 - Building Blocks (in dependency order)
- AppsThe app yaml reference: bundling models into an app, required fields, and SBT 1.0 additions.
- SourcesDeclaring the tables your app reads in sources yaml, bundled vs non-bundled, and changing mappings after install.
- SchemasDefine schemas to validate your sources and model outputs: columns, constraints, and the validate commands.
- ModelsA model consists of code that populates a single table or view, along with metadata properties that define how your users can interact with the model.
- Model Reuse: Freshness and Shared ModelsHow freshness settings and shared models reduce redundant app runs and compute costs.
- Helpers & the Run ContextReusable helper queries and the run context (the seek object) your model code receives at runtime.
- Dependencies: packages, wheels, and requirements.txtThe three ways an app gets its Python dependencies — the packages key, wheel files in modules/, and requirements.txt — and which one applies to your app.
- RLS Parameters (Row-Level Security)Restrict which rows of data an organization can see using RLS parameters: how to define them in SBT, what subscribers see at install, and how to write model code that filters correctly.
- Configuring Your Project (sbtconf.toml)Reference for the sbtconf.toml project config file: what's in it, how to add environments, how to switch between them, and how to keep it safe.