Globalcorp

Step 7 of 7

GC Developer Portal

Updated Sep 13, 2026 · Harness Admin

A) Create new workflow

  1. In the left-nav, click the mega-hamburger button, then select Internal Developer Portal.

  2. On the left-nav, click create, then workflow on the right side.

  3. Follow the table to configure:

    Name

    Text
    <your attendee name> Create VM

    Type

    Select (or type if first time) workflow

    Owner

    Select your id.

    Description

    Text
     Automatic workflow to create a virtual machine.
  4. Scroll down slightly and confirm this workflow will be available to anyone in the account.

  5. Switch to the Yaml view with the button at the top.

  6. Find, select, and delete the content after spec: on ~line 8.

  7. Add the follow content right under spec:

    Text
    output: links:   - title: Pipeline Details     url: ${{ steps.trigger.output.PipelineUrl }}lifecycle: ""parameters: - title: About your VM   required:     - projectId     - vm_type     - vm_name   properties:     projectId:       title: Project Identifier       description: Harness Project Identifier       type: string       ui:field: HarnessProjectPicker     vm_type:       title: Select Machine Type       type: string       enum:         - opensuse-leap-15-6-v20250408-x86-64         - ubuntu-minimal-2210-kinetic-amd64-v20230126       ui:widget: radio     vm_name:       title: Virtual Machine Name       type: string       description: Machine Name (max:12 characters)       maxLength: 12       pattern: ^([a-zA-Z][a-zA-Z0-9]*)(-[a-zA-Z0-9]+)*$     token:       title: Harness Token       type: string       ui:widget: password       ui:field: HarnessAuthTokensteps: - id: trigger   name: Requesting Your New Environment   action: trigger:harness-custom-pipeline   input:     url: <to update>     inputset:       vm_name: ${{parameters.vm_name}}       harness_project: ${{ parameters.projectId }}       vm_type: ${{ parameters.vm_type }}       requestor_name: ${{ user.entity.metadata.name }}     apikey: ${{ parameters.token }}ownedBy: - user:account/admin@harnessevents.io
  8. Switch back to your pipeline, ensure you are in the pipeline editor, and copy the full URL.

  9. Replace the <to update> section above the the URL to your pipeline.

  10. Save the template.

  11. In the left nav, click Workflows, then click Execute on your workflow.

  12. Click Project Identifier and select your main project (you might have another example or two).

  13. For the machine type, click ubuntu...., give it a Name and run the workflow.

B) Check out Virtual Machine

  1. In your Cloud tab, switch to the virtual machines list and confirm your new virtual was created.