Getting Started with Scaffolder
This guide will help you create and run your first Software Templates using the Portal Scaffolder.
Creating Your First Template
The Portal Scaffolder allows you to create templates directly in the UI without leaving Portal.
Choose Your Starting Point
When creating a new template, you have two options:
- Create from a Premade Template: Start with an existing template as a base
- Create from Scratch: Build a template from the ground up

Creating from a Premade Template
- Navigate to Create Template: Click the create new template button
- Select Source: Choose to create from a premade template

- Save the template: Click on the save button

- Preview the Template: Review the template structure and configuration

Editing Your Template
Once you have a template loaded, you can customize it using the Portal editor:

Configure Form Fields
- Navigate to the form fields configuration section
- View existing field configurations
- Add new fields by clicking Append

- Configure field properties:
- Field type
- Label and description
- Validation rules
- Default values

Add Actions
Actions define what the template does when executed.
- Navigate to the actions section
- Click to add a new action
- Choose from available actions (e.g.,
catalog:register,github:create)

- Configure action parameters

Use Extensions
Extensions provide additional functionality through data filters, functions, and custom values:
- Navigate to the extensions section
- Add filters to transform data
- Define custom functions
- Set up reusable values

Testing Your Template
Before publishing, test your template using the Dry Run feature:
- Click Dry Run in the template editor

- Fill in test values in the form
- Click Test to simulate execution without creating resources

- Review the output to verify expected behavior
- The dry run shows what repository and resources would be created

Saving and Publishing
Save as Draft
- Click Save to save your changes as a draft
- Or click Download to download the template locally
- Draft templates can be edited further before publishing

Publish Template
- When ready to make your template available, click Publish


- The template will now appear in the templates list
- Other users can now discover and run your template

Running Your First Template
Once you have published templates available, running them is straightforward.
- Navigate to Templates: Go to the Scaffolder templates page in Portal
- Select a Template: Browse available templates and click Run on the template you want to use

- Fill in Details:
- Select your organization from the dropdown
- Enter the required information (e.g., repository name, description)
- Review any additional configuration options

- Review & Submit:
- Click Review to verify your inputs

- Click Submit to execute the template
- Monitor Progress:
- View real-time logs as the template executes
- Check the output section for created resources


- Once complete, you'll see confirmation of the created resources (e.g., repository, catalog entities)

Next Steps
- Learn more about template configuration and advanced features
- Explore the technical reference and FAQ