Help Center/ CodeArts Deploy/ User Guide/ Creating an Application/ Creating an Application Using a Custom Template
Updated on 2026-07-09 GMT+08:00

Creating an Application Using a Custom Template

You can customize an application by customizing deployment actions based on project requirements. This section describes how to use a custom template to create and deploy an application.

Application Scenarios

A custom template can be used in the following scenarios:

Creating a Custom Template on the Application Template Page

  1. Go to the CodeArts homepage.

    1. Log in to the CodeArts console, click , and select a region where you have enabled CodeArts.
    2. Click Go to Workspace.

      If your account uses the old billing mode (see Old Billing Modes), click Access Service.

  2. Click the target project name to go to the project.
  3. Choose CICD > Deploy.
  4. Choose Templates > All.
  5. Click Create Template.
  6. Edit the basic information, deployment actions, and parameters as required. For details, see Creating an Application with a Blank Template.
  7. Click Save in the upper right corner to create a custom template.

Customizing from a Blank Template

  1. Go to the CodeArts homepage.

    1. Log in to the CodeArts console, click , and select a region where you have enabled CodeArts.
    2. Click Go to Workspace.

      If your account uses the old billing mode (see Old Billing Modes), click Access Service.

  2. Click the target project name to go to the project.
  3. Choose CICD > Deploy.
  4. On the Applications tab page, click Create Application, enter basic information and an application is created. You can modify basic information such as the Name, Description, and Execution Resource Pool as required. For details, see Editing Basic Application Information. Then click Next.
  5. Click Blank Template to enter the Deployment Actions tab page.
  6. Edit the deployment actions based on service requirements.
  7. Click Save as Custom Template. In the dialog box displayed, enter a template name and description, and click OK.

Creating a Custom Template During Application Creation

  1. Go to the CodeArts homepage.

    1. Log in to the CodeArts console, click , and select a region where you have enabled CodeArts.
    2. Click Go to Workspace.

      If your account uses the old billing mode (see Old Billing Modes), click Access Service.

  2. Click the target project name to go to the project.
  3. Choose CICD > Deploy.
  4. On the Applications tab page, click Create Application, enter basic information and an application is created. You can modify basic information such as the Name, Description, and Execution Resource Pool as required. For details, see Editing Basic Application Information. Then click Next.
  5. Click Next, choose Blank Template > Custom. Click New Template on the right of Custom.

    If no template is available, you can click New Template to create a custom template.

  6. Configure basic information, deployment actions, and parameter settings as needed.
  7. Click Save in the upper right corner to create a custom template.

Customizing a Template from an Existing Application

  1. Go to the CodeArts homepage.

    1. Log in to the CodeArts console, click , and select a region where you have enabled CodeArts.
    2. Click Go to Workspace.

      If your account uses the old billing mode (see Old Billing Modes), click Access Service.

  2. Click the target project name to go to the project.
  3. Choose CICD > Deploy.
  4. On the Applications tab page, select an application to be deployed and find its Operation column. Click on the right of the application, click Edit to view the detailed configuration information of the application.
  5. Edit the deployment actions based on service requirements.
  6. Click Save as Custom Template. In the dialog box displayed, enter a template name and description, and click OK.

Favoriting, Editing, or Deleting a Custom Template

  1. Go to the CodeArts homepage.

    1. Log in to the CodeArts console, click , and select a region where you have enabled CodeArts.
    2. Click Go to Workspace.

      If your account uses the old billing mode (see Old Billing Modes), click Access Service.

  2. Click the target project name to go to the project.
  3. Choose CICD > Deploy.
  4. Choose Templates > Custom Templates.

    • Click next to a template to add it to your favorites. Then the template will be pinned on the top of the custom template list.
    • Click in the row of a template to be edited and click Edit.
    • Click in the row of a custom template to be deleted and click Delete. Once deleted, the template cannot be restored.

For other operations such as configuring deployment actions, setting application parameters, and host environment, deploying applications, and viewing results, see deployment actions in Creating and Deploying an Application with a Blank Template.