capabilities.work

Provision Environment and Deploy Application

A 2-step recipe with MuleSoft. We can help you get access.

Recipe · 2 steps

Provision Environment and Deploy Application

Create an environment and deploy a CloudHub application into it.

  1. Create a new environment in the target organization. The returned id is used as the deployment target for the application.
  2. Deploy a new CloudHub application into the newly created environment, passing the organization and environment ids as the required headers.
What you'll need to have ready
  • bearerToken: Anypoint Platform bearer access token.
  • orgId: The organization id that owns the new environment and application.
  • environmentName: Display name for the new environment.
  • environmentType: Environment type classification (design, sandbox, or production).
  • appDomain: Unique CloudHub domain name for the application.
  • muleVersion: Mule runtime version to deploy.
  • region: CloudHub region to deploy the application to.
For your developer

Arazzo workflow mulesoft:provision-environment-and-deploy-app, 2 operations: createEnvironment → createApplication. Specs on APIs.io.