Skip to main content

create-entity-manually

Last updated on

Create Entities Manually

In IDP 2.0, entity creation is simplified with full UI support and optional YAML-based creation. Entities are now "inline," which means their entire lifecycle can be managed through the UI or API, without Git integration.

You can create entities directly via the Harness IDP UI—no YAML required for a streamlined, code-free experience. Alternatively, you can use your existing catalog YAML files, and Harness will automatically convert legacy Backstage YAML into the new Harness Catalog Entity Model.


Example Component YAML Template
apiVersion: harness.io/v1
kind: component
name: artist-lookup-api
identifier: artistlookupapi
type: service
owner: <owner-name>
scope: <scope>
projectIdentifier: <project-identifier>
orgIdentifier: <org-identifier>
spec:
lifecycle: production
sourceCode:
provider: <provider>
repoName: <repo-name>
connectorRef: <connector-ref>
branch: <branch>
monoRepo: <mono-repo>
metadata:
tags: []
description: ""