---
schema_version: "1"
id: 0181294e041f5772cd3dae68636b3ffea6ad72b73dd81c54ad35c2579f9e99b6
title: Write Once and Render Rich Native UI on Multiple Surfaces with Headless Experience Layer (Beta)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/release-notes/262-0-0/rn_hxl_beta.md
canonical_url: https://help.salesforce.com/s/articleView?id=release-notes.rn_hxl_beta.htm&release=262.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 4947cd5258f97cb23896f68690ae0d38de28dc171cd3cd9ea86b29ca76b603ea
description: Use the Headless Experience Layer (HXL) to single-source rich UI widgets that render natively on target surfaces to meet users where they are. Author a widget declaratively, bind it to a Custom Lightning Type, and configure a hosted Model Context Protocol server to enrich conversations across external AI agents.
products:
  - Cross Cloud
release: "262"
---
# Write Once and Render Rich Native UI on Multiple Surfaces with Headless Experience Layer (Beta)

Use the Headless Experience Layer (HXL) to single-source rich UI widgets that render natively on target surfaces to meet users where they are. Author a widget declaratively, bind it to a Custom Lightning Type, and configure a hosted Model Context Protocol server to enrich conversations across external AI agents.

Present the structured output from a supported Agentforce action as an HXL widget in Agentforce conversations instead of using the default output presentation. In addition to using a Lightning web component UI override, a custom Lightning type can use an HXL widget as its renderer. Add buttons that invoke configured actions, such as sending follow-up requests to the agent.

**Where:** This change applies to Lightning Experience, and all Salesforce editions.

Headless Experience Layer is a pilot or beta service that is subject to the Beta Services Terms at [Agreements - Salesforce.com](https://www.salesforce.com/company/legal/agreements/) or a written Unified Pilot Agreement if executed by Customer, and applicable terms in the [Product Terms Directory](https://ptd.salesforce.com/). Use of this pilot or beta service is at the Customer's sole discretion.

**How:** From Setup, in the Quick Find box, enter Headless Experience Layer, and then click **Headless Experience Layer (HXL) Settings**. On the HXL settings page, enable **Headless Expeirence Layer (Beta)**.

#### See Also

- [Headless Experience Layer Developer Guide](https://developer.salesforce.com/docs/platform/hxl/guide/get-started.html)