After creating a stack provider and a stack template, you can decide either to provision a deployment target and then assign it to an environment or to provision an environment (by using the wizard). This is what you have to do if you decide to go for the first option.
To Provision a Deployment Target
Click the Provision button in the toolbar. The Provision Deployment Target dialog opens.
Only stack templates with status "connected" are displayed on the dropdown list.
The Agents (HOST) or agent group is automatically assigned by the system. You can also assign a new agent.
The deployed agent is assigned to the deployment agent during provisioning.
Unfold the Stack lifecycle section to see the stack provider, current state and the actions you can perform, which vary depending on the status of the provisioned deployment target.
You can click on the monitor to see the workflow tasks defined for the current lifecycle state. When the workflow has successfully ended and the provisioned deployment target has reached the next milestone, you can select the action to be performed next.
Actions cannot be selected when the deployment target is in a transition state. For more information see Provisioning Lifecycle.
Finally, add the provisioned deployment target to one or more environments in the Environments section.
Now you can execute the deployment workflow.