Home > Workflows > Using Workflows > Node Context Menu > Deploy
You deploy a node or workflow by creating SQL scripts that perform the tasks specified in the workflow (for example, build model or apply model).The scripts generated by Deploy are saved to a directory.
You must run a node before you deploy it.
You can generate a script that replicates the behavior of the entire workflow. Such a script can serve as the basis for application integration or as a lighter-weight deployment than the alternative of installing the Data Miner Repository and workflows in the target and/or production system. For detailed information about the scripts and how to execute them, see Deploying Workflows.
To deploy a workflow or part of a workflow, right-click a node and select Deploy. Deploy provides the choices of what you wish to deploy:
Selected node and dependent nodes
Selected node, dependent nodes, and child nodes
Selected node and connected nodes
After you select what you want to deploy, the Generate SQL Script wizard launches. You must select Target Database and select the Script Directory where the scripts will be saved.
The SQL that is saved consists of SQL generated by the current node and all of its parents that are data providers. The lineage ends when it encounters nodes that represent persisted items such as tables or models. See Executing Scripts for information about how to run the generated SQL.