Workbooks as Code Preview: Build, Version, and Generate Sigma Dashboards Programmatically
Blog post from Sigma
Workbooks as Code is a new feature for Sigma that allows users to programmatically build, version, and generate dashboards using a structured spec through the Sigma REST API. This innovation enables Sigma workbooks to be treated like software, integrating them into existing data stack management systems that utilize version control, CI testing, and automation, akin to how data transformations and infrastructure are managed with tools like dbt and Terraform. By exposing the underlying structured definition of workbooks as code rather than a separate export, users can read, write, and edit workbooks programmatically, facilitating seamless migration from other BI tools, automating repetitive changes, and enabling AI agents to create dashboards. This functionality is currently in private beta for select customers, ensuring that while workbooks can now be manipulated as code, the governance, permissions, and lineage associated with them remain intact. This development aims to eliminate the manual, click-driven creation of dashboards, making them reviewable, testable, and scalable while maintaining the same level of governance and live query capabilities.