If you're moving a Portal Engine project from Kentico 12 (K12) or an older version to Xperience by Kentico (XbyK), you probably have questions about what the process involves.
This move asks more of your team than an upgrade from Kentico Xperience 13 (KX13). XbyK is a new product rather than an expansion of our previous solutions. Built on current technology with a modern security model, it's introducing possibilities that legacy Kentico versions never offered. That also means some familiar principles have no direct equivalent: browser-based development, the macro language, and site-scoped users, roles, and permissions.
Fortunately, you don't have to navigate this migration alone. You'll learn what to expect from the migration process, which decisions to make early, and what potential challenges you should prepare for.
With that, don't expect feature-by-feature migration instructions or a mapping from this material. With a K12 to XbyK migration, you don't migrate the implementation, you migrate the intent. We have seen our clients and partners customize our Kentico 12 solutions very differently to fit their requirements, which makes a one-size-fits-all guideline impossible. Instead, we show you how to use the available tools to create your own mapping, tailored to your project requirements.
These steps assume a Portal Engine project, but if your Kentico 12 project was built with MVC, the high-level steps still apply. K12 is the reference version throughout, and the same concepts hold for earlier releases – the closer your project sits to K12, the more directly each step translates. You do not need to upgrade to K12 before you start this path.
Guidance written for KX13 readers
Most Kentico migration tooling and guidance assumes a KX13 source, so less of it applies directly to a K12 project. Read the pages written for KX13 readers for the method rather than the specifics.
First, we'll look into what changed between the products, because those differences decide how you plan. The migration process you should plan for consists of four steps:
K12 to XbyK migration assumes an AI-assisted approach
We recommend using AI assistance throughout the migration process. While you can complete all steps manually, doing so will significantly increase the time and effort required. Decide which approach your team will take before estimating the project, as it can greatly affect the overall timeline.
Alternative route: the Kentico Migration Tool
Kentico Migration Tool (KMT) moves structured content using predefined mapping, so it asks less of you, but reaches less far. We recommend the route described here, where you and your agent build the mapping. That way you build a content model optimized for Xperience by Kentico, rather than carrying over Kentico 12 patterns that require remodeling later. KMT is supported and worth trying, particularly for lift-and-shift migrations. However, its migration capabilities for K12 are more limited than for KX13. Alternative route: the Kentico Migration Tool explains the trade-offs and costs of each approach.
XbyK is not a newer version of the product your team knows. It is a next-generation platform that builds on the same Kentico DNA, but redesigned to take advantage of modern development patterns and workflows. Some things will feel familiar, while others require a fresh approach. Let's look at what that means in practical terms.
On a K12 Portal Engine project, a lot of development happened in the browser. You built ASPX page templates, configured web parts, wrote transformations, and used macros, all through the administration interface.
None of that exists in XbyK. Development happens in an IDE, like Visual Studio or VS Code, against a codebase, and reaches the server through a deployment. Deployments are code-driven too, usually through a CI/CD pipeline. In K12, a design change and a content change both happened in the browser. In XbyK, only the content change does.
Xperience by Kentico is code-first, and that shifts who is responsible for what. Design, behavior, and performance optimization belong to developers. Editors work with content and Page Builder without code access, which is deliberate and worth keeping.
Administrators feel the change as well. K12 gave them prebuilt administration applications for a lot of everyday operations, including system settings, cache debugging, and built-in smart search configuration. XbyK does not ship these as ready-made administrative capabilities or workflows orchestrated from within the application UI. When your teams need them, developers build them to match your project's requirements.
XbyK is modular where K12 was complete: instead of configuring an application that already contains everything (including features not needed for your domain), you add the pieces your project needs and extend them yourself. That moves work from configuration into implementation, and in return nothing you build waits for a product release. Third-party services release new features often, MCP servers among them, and an extensible project can start using such a feature as soon as it is available.
Although XbyK builds on foundations your team already knows, the work is closer to re-platforming than upgrading – as is true for any move to a modern platform. The difference is that you are not starting from scratch and you are not starting alone: the decisions ahead are ones others have already faced. In the following sections, we'll take a closer look at the major shifts.
K12 macros let editors and developers put significant business logic directly into the administration through the browser. A macro in a web part property or a transformation could pull content, branch on a condition, or build a string. XbyK follows a different model and keeps business logic in code. Only two places still accept macro expressions: email template source code, and default values for editing forms defined in the Modules application. As you migrate, focus on preserving the behavior your solution provides rather than recreating the macros that produced it.
Some of what macros did has a direct home:
Everything else moves into code. Where a K12 macro determines how content is displayed, generated, or personalized, its recommended XbyK equivalent is usually a code-based component, such as a widget, view component, or page template. The logic lives in C#, where you can test it. Take the dynamic part out of the value someone typed in the UI, and put it where the rest of your logic lives.
Content localization follows the same rule. K12 let you add resource strings through the administration interface. XbyK does not, so use a resource file or model the strings as content items.
Custom templating expressions
Building your own templating layer in XbyK is not a scenario we encourage. If your project genuinely cannot avoid one, read the customization guidelines first. They describe how to keep custom expressions from conflicting with the product, not how to build the layer itself.
Before planning any of this, find every macro your project actually uses. Macros turn up in places teams no longer remember configuring, which is why the audit comes first. We'll cover this in the Audit your K12 project section.
K12 gave editors a wide reach into presentation. They pasted HTML into the rich text editor and into web parts built for exactly that, maintained whole stylesheets in a dedicated application, configured web parts, and wrote macros. XbyK removes these options by design. Editors work with content and with the components developers built for them, and anything beyond that is a feature someone has to implement.
So editor freedom becomes a design decision, not a setting you turn on late in the project. Agree early on what each role may change, then build to that agreement. The choice shapes your content model, your widgets and your permissions at the same time.
How much of a page belongs in Page Builder at all is the larger question behind this one. Differences between Page Builder content and structured content and Meet business requirements with Page Builder work through the trade-offs with examples.
Page Builder is permissive until you restrict it. Every registered widget and section can be placed in any editable area unless you say otherwise, which gives editors more control over layout than most teams intend.
Restrictions are set in code, per editable area and per widget zone, by listing the components you allow. See Configure allowed components for editable areas. Combine them with role permissions and page permissions so the limits hold outside Page Builder as well. The rich text editor is configured the same way: developers decide which formatting the toolbar offers.
In-context editing also works differently. K12 editors changed pages on the live site, while XbyK editing happens in the administration interface, on the web page's Page Builder tab. Reviewers who have no administration account see the result through shareable preview URLs. Tell your editors this early, because the workflow feels unfamiliar before it feels better.
The image below shows the editor experience in the XbyK Page Builder tab.
These tables pair concepts, not components, and no row is a like-for-like swap. The third column names what each pairing leaves behind, because that is where the work hides.
On the website presentation side:
| In K12 | In XbyK | What does not carry over |
|---|---|---|
| Web part | A widget or a .NET view component | Configuration in the browser. Widget properties are declared in code, and editors only fill them in. |
| ASPX page template | A page template | Building the template in the administration. XbyK page templates are registered in code, and editors choose from what exists. |
| Form control with backend logic | A form component, with the logic in code | The single control that served both the administration and the live site. Visibility and validation are now separate mechanisms. |
| Transformation | A Razor partial view, rendered for each item by the widget, page template, or view component that retrieves the list | Templates edited in the browser, and any macros or inline code inside them. The header, footer, alternating item and separator transformations become plain Razor loop logic. Formatting helpers move into the view model or Tag Helpers. Data comes from the component that renders the list, through the content retrieval API. |
On the website content side:
| In K12 | In XbyK | What does not carry over |
|---|---|---|
| Page type | A content type, page or reusable | The rule that every content item is a page with a URL. Reusable items live in the Content hub and appear wherever you use them. |
| Media library | Content item assets | XbyK has no media libraries. Files live in the Content hub as assets on content items, so folders addressed by path give way to items you reference. |
| Category | A taxonomy | Categories tied to one site. A taxonomy is defined once and tags pages, emails, headless and reusable items alike. |
| Content tree | A website channel plus the Content hub | One tree that was structure, navigation and storage at once. Structure lives in the channel and content lives in the hub. |
| Editable region | Nothing automatic | The page body that Portal Engine stored as one blob. Each region has to be mapped deliberately onto structured fields, rich text, or widgets. |
| Attachment | Content item assets | Files bound to a single page. An asset belongs to a content item that anything can reference. |
| Tag | A taxonomy | Free-typed tags. A taxonomy's tags are defined before they are used. |
| Page type inheritance | Reusable field schemas | The parent-child chain. A schema is composed into a content type rather than inherited from above. |
Read both tables as starting points for a decision, not as a conversion recipe. Nothing binds you to the pairings. If your web parts cluster into a few layouts, page templates may serve you better than one widget each. Some K12 features have no row at all, and Audit your K12 project is where you find out which of yours do.
Commerce is the area that changed most. XbyK models a store differently, and features such as taxes, membership, e-products and invoices have no direct counterpart, so each one your store relies on becomes a decision about how to provide it rather than a thing to move. Commerce features overview shows the current feature set to map onto.
Your contact data has a place to land in XbyK, and the features K12 built on top of it land differently. Contact groups with a prebuilt set of conditions cover deterministic segmentation, A/B testing and web analytics come through integrations, and personas and lead scoring as K12 knew them are a custom build. Campaigns, automation, and email channels exist as well, in a shape designed for XbyK rather than carried across, so you need to decide what each one should do in XbyK rather than port its configuration. Digital marketing shows the current feature set to map onto.
A K12 feature can only be mapped by someone who knows what XbyK offers in its place. That is why learning comes before analysis rather than after it. We see teams underestimate this step, and skipping it costs more later than it saves now. Budget time for learning, not only for moving the project across.
Developers and business users need different starting points.
Developers
Editors and marketers
The Documentation MCP server supports this step. It needs no target instance, so your team can ask it questions about XbyK while the project still runs on K12.
The analysis, the mapping and the migration all run through an agent, so KentiCopilot and the tooling around it have to be in place before any of that work starts.
It matters which tool does what. KentiCopilot knows XbyK, so it proposes the target model and builds in your new project. It does not read K12: nothing in it corresponds to the K12 database reader that the upgrade plugin gives KX13 projects. Reading your K12 project is your agent's own work, done against the source, the administration interface and the database, and the K12 documentation is what teaches it what it is looking at.
For many organizations, a security review comes first. KentiCopilot security describes where your project data travels, what each component retains, and which controls you configure yourself. Run the same review over the rest of the toolchain. The agent you work in, the model provider behind it, and every MCP server you connect each come with their own data handling and their own settings to configure.
Do not limit your team to Kentico tools. Where your agent reads the K12 database directly, something like Microsoft's SQL MCP Server (opens in a new tab) puts that database behind entities and roles you define, so you decide what the agent sees. This matters most when you map your non-content data.
Not all of it has to be in place at once. The Documentation MCP server needs no target instance, so it helps from the start. The Management MCP server connects to your target XbyK instance, and is how the agent writes content into it. The web development plugin (opens in a new tab) is what the agent works with inside your XbyK codebase, so it earns its place when the agent starts building in your XbyK project.
Check what the MCP server covers today
The Management MCP server works with content and the objects around it rather than the whole product, so expect parts of your migration to sit outside its reach. Its tool surface also grows release by release, which is why this material does not list it. See the tools it exposes before you plan around it.
Build a website with KentiCopilot lists the prerequisites and walks the setup, including the plugin's agentify readiness audit, which checks your project has the agent instructions and configuration it expects. Work effectively with KentiCopilot covers the habits that keep it useful over a long project.
Your agent reads the K12 project, and KentiCopilot proposes where what it found could land in XbyK. What you hand KentiCopilot is that audit, not your K12 database. What comes back is a starting point rather than an answer. You review it, correct it, and decide what the target actually looks like. Everything after this step carries out those decisions.
Use the most capable model you have access to
Reading an unfamiliar K12 project and proposing a target model is broad, open-ended work, and that is where stronger models need the least direction. See Choose a model that fits the task for guidance on how to judge it.
Start with an audit of the K12 side. You are looking for the things that behave differently in XbyK, not for a complete catalog of your project.
UIElement table lists them, and projects that followed the recommended approach prefixed their classes.Point your agent at the Kentico 12 documentation before you ask it to read your project. Models know far less about Portal Engine than about current .NET, and an agent that cannot recognize a web part or an editable region will miss them in your source. Have it explore and plan before it reports anything, as Work effectively with KentiCopilot describes.
Run the macro report yourself first and hand the agent its output: the report already knows every object type and field that holds a macro, so letting an agent search for them instead costs tokens and finds less.
Read the database alongside the source rather than instead of it. Pull the K12 schema through a SQL MCP server and have the agent tag which tables belong to which area – content, contacts, commerce, custom tables – and you get the volumes and relationships that reading source never produces. The schema does not replace the audit: it holds web part configuration as XML in a column, not as behavior anyone can read.
Have your agent do most of this reading: it audits the Kentico 12 source and groups the findings by the amount of rework.
Before you start, read the Kentico 12 documentation to understand Portal Engine concepts: web parts, transformations, editable regions, document aliases and the macro language. Audit this Kentico 12 Portal Engine project for a migration to Xperience by Kentico. List every page type with its fields, every web part with custom code behind it, and every form control that carries logic. Take macro expressions from the macro report I exported from the K12 administration rather than searching the source for them. Report any HTML or CSS that editors entered through the administration interface. Flag navigation that is generated at runtime rather than authored. Read the UIElement table and list every custom administration element, including any whose class names carry a project-specific prefix. Group the results by how much rework each one implies.
These are the items worth checking explicitly: macros stored inside content, fields whose visibility depends on other fields, per-site users and permissions, page-level permissions, contacts, and commerce data, editor-authored HTML and CSS, form controls with custom logic, runtime-generated navigation, editing done on the live site, custom tables, tags, and URL aliases. Each one is quiet in the source project and expensive once the migration is underway.
One deserves singling out. Editable-region content is the page body on most Portal Engine sites, and nothing moves it automatically.
Scope what the agent reads
An agent reading your K12 database sends what it reads – contacts and orders included – to your model provider. Kentico ships no tooling for reading a K12 database, so no Kentico documentation describes where that data travels. This is the part of the review in Set up AI tools that rests entirely on the tools you picked yourself.
Decide what the agent may reach before you point it at the database, and expect it to work around a missing tool rather than stop at it. Where no MCP tool reaches the data it was asked for, capable models write their own SQL queries or scripts to read the database directly. Instruct your agent against it, and review every script it writes before you let it run.
Some of the biggest migration challenges stem from features that have no direct counterpart in XbyK, or whose equivalent follows a different pattern. Most have a viable route forward, but the approach you choose affects the scope, effort, and cost. Make those decisions early so they can be properly reflected in your migration plan and budget. For everything that changed along the way, see Upgrading to Xperience 13 and the technical comparison of KX13 and XbyK. The ones that most often shape a K12 migration include:
Have your agent propose a target model from what it read, either designing a new one or mapping your existing structures onto XbyK ones. Before you move any content to the suggested content model, verify it supports all scenarios required by the editor and marketing team.
Use the Content Modeling MCP Server to prototype the model and visualize it for stakeholders before you commit.
Use the KentiCopilot Management MCP server to create the content types and their visibility conditions, then migrate a few pages of each type and confirm they behave the way editors need. Expect to iterate on those samples: restore the CI repository, fix the model, run again. Once a type is settled, have the agent write the bulk migration rather than carry it out. You pay for every page the agent handles itself, while a script costs the same whether it moves ten pages or ten thousand. The Universal Migration Toolkit is what moves structures and content in bulk, and Migrate iteratively covers how to drive it.
Decide your navigation separately. In K12 a menu usually fell out of the content tree, through page menu properties and a menu web part. XbyK does not derive one for you, so navigation becomes a modeling decision. Model website navigation sets out three approaches, and defining it in the content tree stays closest to what your team already does.
Map your access model separately from the content model. Users, roles, and permissions require different design decisions and are best analyzed on their own. For AI-assisted migrations, consider reviewing access control in a dedicated session or assigning it to a separate agent before you consolidate the results into your migration plan.
XbyK splits the single K12 user store in two: users sign in to the administration, members sign in to your website. Users are also not site-specific, so site-scoped roles, document-level ACLs and global administrators have no direct counterpart in a model built on global users and workspaces.
Bridging that difference is a design task, not a data-transfer task. This path moves no users, roles or permissions, so budget for designing your own access model and the process that populates it. Work out what each K12 role was really protecting, then express it with users, roles, members, and workspaces. The goal is not to recreate the old access model, but to design one that fits XbyK's capabilities and the way your teams work today.
Contacts, marketing data and commerce are not content
Nothing reads them out of your K12 project for you. The Universal Migration Toolkit does model commerce objects such as customers, orders and shopping carts, so there the work is the export and the mapping rather than the import. Contacts and marketing data have no import model, so they need custom modules on the code side and a data import of their own. Work the mapping out against sample data before you run anything over production records.
Once the modeling decisions are made, write them down. Your agent needs them on disk rather than remembered from a conversation. Add them to the instructions your project already carries from setting up the kentico-web-development plugin, and record what maps to what and which K12 habits must not transfer to XbyK during migration. See Build a website with KentiCopilot for how to write instruction files.
Have your agent write the migration decisions file, with the content model choices, the reasoning behind each, and a replacement for every legacy Kentico 12 pattern.
Write a migration decisions file for this Xperience by Kentico project, based on the migration analysis in this repository. Record the content model decisions we made and the reasoning behind each one. State which legacy Kentico 12 patterns must never be carried over, and what replaces each one.
You have a mapping and a briefed agent. What remains is a loop: pick a slice, migrate it, verify it, store it, take the next one.
Stand up the Universal Migration Toolkit before the loop starts. It is a library rather than an AI tool, and pointing your agent at it is usually enough to get it running.
Have your agent import through it rather than creating objects one at a time. The agent generates the data structures and imports them in a single pass, which is how this path is designed to work. Driving the Management MCP server object by object does the same job, but its tools return verbose results and every call consumes context, so a large slice burns tokens and compacts the session early.
Name the tool in your prompt. Left to itself, an agent picks whichever tool it judges best, which may not be the one you want for a slice of this size. Its choice is sometimes the right one, so the point is not to forbid it but to decide deliberately where you hand that judgment over.
How you slice the work is your call. You can cut by object type, taking one content type at a time, then users, then categories. You can also cut by what appears on the site, migrating a subtree of pages or one feature at a time. The second makes progress visible, because your target solution fills in as you go.
Keep each slice small enough to verify before you start the next one. Build a website with KentiCopilot covers how to size a slice and what to check before moving on.
Store to the CI repository once a slice is verified. That becomes the point you restore to when a later slice goes wrong, so a failure costs you one slice rather than the whole run.
Two limits of UMT imports
Expect to re-run an import, and know what can block it. If anyone opens a migrated page in the administration interface, XbyK saves a draft of that page, and re-importing it fails until the draft is discarded. Keep the target instance closed to editors until a slice is signed off.
The second limit is quieter. UMT writes straight to the database, so it skips the validation the administration interface applies. Content that imported without error can still fail those checks later, when someone works with it in the UI.
Inside a slice, content and code move together. The agent creates the content types, ports the code that renders them, and moves the content itself. Non-content data gets its own passes, because users, contacts and data protection are not tied to any one page.
One ordering holds inside every slice: the content type exists before any content lands in it. That is a step in the loop, not a gate you clear once for the whole project.
Content is the category with the strongest tooling support, so you won't be starting from a blank page. Pages, media, and categories become content types and items in the Content hub.
Non-content data surprises teams coming from a KX13 upgrade, where there is barely any. From K12 it is a full third of the work, so plan it from day one rather than treating it as a tail end. The decisions are mostly one-time ones.
The remaining data areas each have a starting point in the documentation:
Use your agent here too. It reads a K12 database schema faster than you do, and the mapping questions it raises are usually the ones worth answering first. Scope what it reaches before you point it at contacts or orders, as Set up AI tools describes.
The agent needs the shape of your data, not the records themselves. Work from the schema, and anonymize or sample anything you hand it from tables that hold personal data.
Traditionally, code migration would be a third workstream to plan, estimate, and staff alongside content and configuration. With AI-assisted migration, that separation becomes much less pronounced. The agent generates code as part of the same migration passes that create your content model and move your data. As new content types are introduced, the code needed to render them is created alongside them. When migrated data requires custom functionality, the corresponding modules and integrations can be generated as part of the same process.
The result is that each completed slice represents a working part of your future XbyK site, rather than migrated data waiting for a front end to be built around it. This incremental approach allows you to easily validate progress and reduces the amount of disconnected work that typically accumulates during a traditional migration.
Custom components are slices of their own
The Universal Migration Toolkit imports data. It does not rebuild the code behind that data, so a form control with its own logic, a custom field type, or a module your project added does not arrive with the records that use it. Each one is a port in its own right. Sequence them ahead of the content that depends on them, the same way a content type has to exist before content lands in it.
Migrate your code with KentiCopilot explains the overall approach, while KentiCopilot code migration - best practices covers the habits and workflows that keep a long code migration on track. Both are written for KX13 sources, so read them for the method rather than the exact steps for K12.
Kentico Migration Tool (KMT) and the Universal Migration Toolkit (UMT) are two ways of moving structured content into XbyK, and they differ in where the mapping comes from.
KMT is built on top of UMT, so the two combine: let KMT move what it models, and use UMT for whatever it leaves behind. See Migration Toolkit to learn how they relate.
Either way you need to understand your K12 project: the UMT route uses that understanding to build the mapping up front, while KMT needs it to choose what to exclude and to remodel afterwards.
KMT creates content types that mirror your K12 page types, plus Legacy.* types for attachments and media. That is a lossy copy of your old model rather than a model designed for XbyK.
The structured fields of your page types arrive, but the page body does not: Portal Engine stores editable-region and web part content as XML, and XbyK expects Page Builder JSON.
Page type inheritance comes across flattened, and you get artifacts you did not ask for, such as transformation-holder classes as empty content types.
Plan the remodeling and the presentation rebuild that have to happen on top of it.
Choosing KMT changes more than how content moves. Learning XbyK still comes first, but the migration process is different. Instead of designing your target model up front and migrating in slices, you configure the tool, run the migration, and then address the gaps. That typically means remodeling parts of the solution and rebuilding functionality the tool could not transfer.
The KX13 upgrade guides describe this approach from planning through post-migration adjustments. Although they target KX13 projects, they are useful here as a process guide rather than a source of implementation details.
Kentico Migration Tool is open source and customizable, and its customization guide (opens in a new tab) sets no limit on the source version. Some of that surface is KX13-specific though: widget migration and the Page Builder JSON transforms only apply to KX13 sources, which have Page Builder content to transform. When we ran KMT against a K12 project with its default configuration, editable-region content, page templates, web parts, tags and document aliases did not come across, though custom URL paths did.
The Kentico Migration Tool (opens in a new tab) (KMT) supports Kentico 12 Portal Engine as a source from hotfix 12.0.20 upwards. Below that it refuses to run, so check your hotfix level before you plan around it. It moves structured data only. Page Builder content never enters the picture, because Portal Engine has none.
These are the things a generic mapping cannot decide for you, rather than gaps in the tool.
Users at Editor privilege and above arrive, as do members and any role that has members, with their memberships intact. What does not arrive is everything that governs access: permissions, site scope, workspace access and passwords. Only K12 global administrators end up with access to the administration. In short: you get accounts, not access.
Contacts and activities migrate as a bulk copy. Customers and orders do not migrate from a Kentico 12 source.
Do not take the success of the content migration as evidence that the rest of the solution has been migrated. Many Kentico 12 features, customizations, and integrations fall outside the capabilities of the migration tool. Review the Upgrading to Xperience 13 documentation and compare it against your own implementation before committing to an approach.
The rule is simple: if a capability is important enough to appear on a project diagram, checklist, or requirements document, verify how it will be handled in XbyK. Assume nothing, validate everything.
The pages step reads the entire attachment table regardless of what you exclude from the migration.
On a site with a large attachment store this takes hours rather than minutes, and large contact volumes behave the same way. Schedule accordingly, and do not size the work from a trial run against a small database.
The repository (opens in a new tab) contains the operational details of the migration tool, including the usage guide (opens in a new tab), supported data types (opens in a new tab), and the CLI reference and configuration options (opens in a new tab) for large migration runs. KMT is customizable, and developers can add project-specific logic at different stages of the migration pipeline. Test what it does with your own project before you plan around that.
The heavy lifting in this migration is the deciding, not the doing. Learn how XbyK works, settle what maps to what, and agree it with the people who own the content, the code and the site's navigation. Only then hand the execution to your agent. KentiCopilot moves fast once those decisions are made, and it moves just as fast in the wrong direction when they are not.
Where to go from here: