Configuration as Code (CasC) fundamentals provides an overview of the CasC features and its benefits and describes from a high-level perspective different use cases where you can use CasC. How to use CasC varies depending on your environment and your infrastructure. However, CloudBees recommends a general workflow, like the one below, to configure your CloudBees CI using CasC.

-
Create a CasC bundle, either manually or exporting the configuration from a running CloudBees CI. If using the export method, transform the exported configuration before using it in a bundle.
-
Distribute the CasC bundle and make it available to your CloudBees CI installation. CloudBees CI allows different ways to distribute bundles, from local files to SCM repositories or even using the operations center to distribute the bundles to controllers. More detailed information on how to distribute the bundle can be found in the following sections.
-
Configure CloudBees CI using the CasC bundle.
-
Configure an operations center using CasC.
-
Configure a controller using CasC.
-
-
Update your CloudBees CI configuration when new CasC bundles versions are available.