Just like datasets, you can create dashboards as code. The files with suffix .dashboard.yml in the analysis/ directory will be parsed and the dashboard will be created automatically.

.dashboard.yml, you can export the dashboards as code using the Export to recipe button as follows:

Here is the schema of the dashboard files: