Skip to main content

Setup frontend

After selecting the blueprint you want to add an action to, we need to define the action's frontend - its structure and interface.

This is done in the first two tabs of the action creation form in Port's UI:

Click here for a reminder of an action's JSON structure.

Basic details

Here we will define the action's title, icon, and description.

We will also choose the action's type:

  • Create - the action will result in the creation of a new entity in Port by triggering a provisioning process in your infrastructure. Since these actions create a new entity, they are not tied to an existing entity in your software catalog.
  • Delete - the action will result in the deletion of an existing entity by triggering delete logic in your infrastructure.
  • Day-2 - the action will trigger logic in your infrastructure to update or modify an existing entity in your catalog.

User form

Port allows you to create a wizard-like experience for your developers by utilizing a variety of input types they will need to fill, while also including input validations.

See the user inputs page for more details about the available input types.

You can even define more advanced forms with dynamic fields that change according to your data or other inputs in the form. See advanced input configurations for more information and examples.

Next step

Once the frontend is set up, we will move on to the action's backend configuration.