Step 7 of 7
GC Developer Portal
Updated Sep 13, 2026 · Harness Admin
A) Create new workflow
-
In the left-nav, click the mega-hamburger button, then select Internal Developer Portal.

-
On the left-nav, click create, then workflow on the right side.
-
Follow the table to configure:
Name
Text <your attendee name> Create VMType
Select (or type if first time)
workflowOwner
Select your id.
Description
Text Automatic workflow to create a virtual machine. -
Scroll down slightly and confirm this workflow will be available to anyone in the account.
-
Switch to the Yaml view with the button at the top.
-
Find, select, and delete the content after
spec:on ~line 8. -
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 -
Switch back to your pipeline, ensure you are in the pipeline editor, and copy the full URL.
-
Replace the
<to update>section above the the URL to your pipeline. -
Save the template.
-
In the left nav, click Workflows, then click Execute on your workflow.
-
Click Project Identifier and select your main project (you might have another example or two).
-
For the machine type, click ubuntu...., give it a Name and run the workflow.
B) Check out Virtual Machine
- In your Cloud tab, switch to the virtual machines list and confirm your new virtual was created.