> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/harness-platform/3.0/in-harness-new-experience/migrations-and-compatibility/migration.md). Agents can also search and read this documentation through its [MCP server](https://developer.harness.io/~gitbook/mcp).

# Migration Guide

Learn how to migrate from Harness Classic Experience to Harness New Experience.

This guide provides a step-by-step process for migrating from Harness Classic Experience to Harness New Experience. Existing Classic Experience resources are fully compatible with the New Experience, so teams can migrate incrementally at their own pace.

{% hint style="info" %}
**NO DOWNTIME REQUIRED**

Migration to Harness New Experience does not require downtime. Existing Classic Experience pipelines, connectors, secrets, and other resources continue to work without modification. The migration process is additive; you adopt new features when ready.
{% endhint %}

### Setup <a href="#setup" id="setup"></a>

Follow these eight steps to migrate from Harness Classic Experience to Harness New Experience. Each step can be performed independently, and you can proceed at whatever pace suits your team.

1. **Review Existing Pipelines**: Audit your existing Classic Experience pipelines to understand their structure, stage types, and dependencies. Identify pipelines that would benefit most from the v1 YAML format.
2. **Simplify YAML**: Convert pipeline YAML from the Classic Experience format to the v1 specification. Remove boilerplate fields like `projectIdentifier` and `orgIdentifier` that are no longer required at the pipeline level.
3. **Remove Stage Types**: In v1 YAML, explicit stage type wrappers are simplified. The `type: Deployment` with nested `spec.deploymentType` is replaced with a flat type: `deploy` or `type: ci`.
4. **Add Typed Inputs**: Replace runtime inputs (`<+input>`) with the new typed inputs system. Typed inputs support string, number, boolean, choice, and secret types with validation and default values.
5. **Deploy Delegate 3.0**: Install the new unified Delegate 3.0 alongside existing delegates. Route new pipelines to Delegate 3.0 using delegate selectors, and decommission Classic Experience delegates as workloads are migrated.
6. **Customize Navigation**: Explore the new navigation layout in Harness New Experience. Pin frequently used projects and resources, configure your sidebar preferences, and learn the keyboard shortcuts for efficient navigation.
7. **Explore Harness Code**: Harness Code is the built-in source code management system in Harness New Experience. Evaluate whether migrating repositories to Harness Code can simplify your pipeline configurations and reduce external dependencies.
8. **Use Harness AI**: Leverage the reimagined AI Assistant to accelerate your migration. It can help create new v1 pipelines, explain configuration differences, and troubleshoot issues during the transition.

The following example shows a side-by-side comparison of the same pipeline expressed in the Classic Experience format and the New Experience v1 format. The v1 format is significantly shorter and easier to read.

{% columns %}
{% column width="50%" %}
**Before: Harness Classic Experience YAML**

{% code title="ng-pipeline.yaml (Harness Classic Experience)" %}

```yaml
# Harness Classic Experience (v0 YAML)
pipeline:
  name: Deploy App
  identifier: deploy_app
  projectIdentifier: my_project
  orgIdentifier: default
  stages:
    - stage:
        name: Deploy to Dev
        identifier: deploy_dev
        type: Deployment
        spec:
          deploymentType: Kubernetes
          service:
            serviceRef: my_service
          environment:
            environmentRef: dev
            deployToAll: false
            infrastructureDefinitions:
              - identifier: k8s_dev
          execution:
            steps:
              - step:
                  name: Rolling Deploy
                  identifier: rolling
                  type: K8sRollingDeploy
                  spec:
                    skipDryRun: false
```

{% endcode %}
{% endcolumn %}

{% column width="50%" %}
**After: Harness New Experience YAML**

{% code title="v1-pipeline.yaml (Harness New Experience)" %}

```yaml
# Harness New Experience (v1 YAML)
pipeline:
  name: Deploy App
  stages:
    - name: Deploy to Dev
      service: my_service
      environment:
        name: dev
        deploy-to: k8s_dev
      steps:
        - name: Rolling Deploy
          with:
            skip_dry_run: false
```

{% endcode %}
{% endcolumn %}
{% endcolumns %}

{% hint style="info" %}
**KEY DIFFERENCES**

The v1 format removes `projectIdentifier`, `orgIdentifier`, and `identifier` fields (inferred from context), flattens the stage and step hierarchy, and replaces nested `serviceRef` / `environmentRef` with top-level service and environment fields.
{% endhint %}

### Backward compatibility <a href="#backward-compatibility" id="backward-compatibility"></a>

All existing Classic Experience resources are fully compatible with Harness New Experience. No modifications are required to continue using your existing configurations.

| Resource                                                                                                                                                                       | Compatibility Status |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------- |
| [Classic Experience Pipelines](https://github.com/harness/harness-developer-hub/tree/main/3k-docs/platform/harness-platform-resources/pipelines/README.md)                     | Fully compatible     |
| [Services](https://developer.harness.io/continuous-delivery/use-continuous-delivery/cd-building-blocks/services.md)                                                            | Fully compatible     |
| [Environments](https://developer.harness.io/continuous-delivery/use-continuous-delivery/cd-building-blocks/environments/environment-overview.md)                               | Fully compatible     |
| [Infrastructures](https://developer.harness.io/continuous-delivery/use-continuous-delivery/cd-building-blocks/environments/environment-overview.md#infrastructure-definitions) | Fully compatible     |
| [Connectors & Secrets](https://developer.harness.io/harness-platform/3.0/harness-platform-resources/connectors.md)                                                             | Fully compatible     |
| [Templates](https://github.com/harness/harness-developer-hub/tree/main/3k-docs/platform/harness-platform-resources/templates/README.md)                                        | Fully compatible     |
| [Expressions](https://developer.harness.io/harness-platform/3.0/harness-platform-resources/variables-and-expressions.md)                                                       | Fully compatible     |

### How conversion behaves <a href="#how-conversion-behaves" id="how-conversion-behaves"></a>

Converting a pipeline to v1 always creates a new copy; it never modifies or deletes the Harness Classic original. Keep the following in mind:

* **Copy-first:** The Classic pipeline remains unchanged and available as a fallback after conversion.
* **Atomic:** If any part of a conversion fails, nothing is converted. There is no partial conversion to clean up.
* **New identifier:** The converted pipeline and its templates get a new identifier with a short hex suffix, for example `my_pipeline` becomes `my_pipeline_a3f2`. Update any scripts, dashboards, or deep links that reference the pipeline or template by identifier.
* **One-way:** There is no supported path to convert a Harness New experience (v1) pipeline back to Classic (v0) format.

### What doesn't convert yet <a href="#what-doesnt-convert-yet" id="what-doesnt-convert-yet"></a>

A few resources and step types need a deliberate plan before you convert a pipeline that depends on them.

| Resource                      | Status                                  | What to do                                                                                                                                           |
| ----------------------------- | --------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| OPA policies                  | Not converted                           | Re-author against the v1 schema. Keep the existing NG policy active until every affected pipeline has been addressed.                                |
| Triggers                      | Not carried over automatically          | Reconfigure on the v1 pipeline only when you cut over, and keep triggers active on one generation of the pipeline at a time to avoid duplicate runs. |
| Input Sets                    | Regenerated against the v1 inputs model | Recreate them for the converted pipeline.                                                                                                            |
| Harness File Store            | Status being finalized                  | Confirm the current status with your Harness account team before planning around it.                                                                 |
| Remote (Git-backed) pipelines | In-place conversion not yet supported   | Conversion produces a new pipeline version that you push through your own PR or manifest update.                                                     |
| Templated pipelines           | Excluded from auto-conversion           | Convert the underlying templates first, then the pipeline.                                                                                           |
| GitOps pipelines              | No migration path yet                   | Stay on Classic for these.                                                                                                                           |
| Terraform-managed pipelines   | v1 provider support coming soon         | The Harness Terraform provider's pipeline, trigger, and input-set resources currently target Classic (v0) YAML and project scope only.               |

A number of step types have no v1 mapping yet, including GCR build-and-push, the Security Tests stage type, Prisma Cloud, SSCA orchestration, Chaos, AI Test Automation, FIPS-mode security steps, and IACM approval. A pipeline using one of these stays on Classic until a mapping ships.

### Known limitations <a href="#known-limitations" id="known-limitations"></a>

Keep the following in mind while Harness new experience is in beta:

* **Step porting is ongoing.** Not every Classic step is available in v1 yet. Step support is being prioritized by usage and CI/CD criticality.
* **In-pipeline infrastructure provisioning is not yet available.** Provisioner steps and expressions (Terraform, CloudFormation, CDK) are not supported in v1 today. If you provision infrastructure inside your delivery pipelines, keep that flow on Classic for now.
* **GitHub Actions coverage is not universal.** Executing GitHub Actions through the `action` step is supported, but coverage depends on the runner environment. Validate the specific actions you depend on before committing a migration plan to them.
* **Some expressions don't resolve yet, and some were remapped.** A number of expressions, including step-group variables, service variable overrides, and provisioner expressions, are not yet supported in v1. Others changed path or keyword between NG and v1. Review your pipeline's expressions against the [expression mapping guide](https://developer.harness.io/harness-platform/3.0/harness-platform-resources/variables-and-expressions.md) before converting.

### When to use Pipeline v1 <a href="#when-to-use-pipeline-v1" id="when-to-use-pipeline-v1"></a>

The v1 pipeline format is optional. Use the following guidance to decide when to adopt it versus continuing with existing Classic Experience pipelines.

| Scenario                        | Recommendation                                                                                                                                |
| ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| Existing working pipelines      | Keep using them as-is. Classic Experience pipelines are fully supported in the New Experience and will continue to work without changes.      |
| Want to use new features        | Create new pipelines using the v1 format. New features such as typed inputs, improved expressions, and simplified syntax are available in v1. |
| Need Stage Groups or GHA syntax | Requires Pipeline v1. Stage Groups (parallel stage orchestration) and GitHub Actions-compatible syntax are only available in the v1 format.   |

{% @harness-feedback/feedback %}
