---
schema_version: "1"
id: 074b63e0c4feca08849ced55bff1be0db4bf8edbf1ba8765faaf2948eea8926e
title: Set Up Flexible Hierarchies with a Coding Agent
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/release-notes/264-0-0/rn_fsc_flexible_hierarchies_ai_setup.md
canonical_url: https://help.salesforce.com/s/articleView?id=release-notes.rn_fsc_flexible_hierarchies_ai_setup.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f6ba365bcf90046f77f7084c2b06a19efc8452ebb7603783612d47f7794ce481
description: In a supported AI coding environment, describe the hierarchy nodes you need. A headless workflow then generates the hierarchy type configuration, including node definitions and relationships. Previously, you configured each definition and relationship individually in Setup. Use this workflow to set up hierarchy types for advisory teams, branches, or business units faster.
products:
  - Cross Cloud
release: "264"
---
# Set Up Flexible Hierarchies with a Coding Agent

In a supported AI coding environment, describe the hierarchy nodes you need. A headless workflow then generates the hierarchy type configuration, including node definitions and relationships. Previously, you configured each definition and relationship individually in Setup. Use this workflow to set up hierarchy types for advisory teams, branches, or business units faster.

**Where:** This change applies to Lightning Experience in Unlimited and Agentforce editions with Agentforce Financial Services, and requires access to the Headless 360 MCP Server (Beta).

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-release-notes-salesforce_release_notes-264-0-0-production-enus/550ba85b-db1a-4608-9cd4-9a65ec96e1fa/images/icon_note.png)

Note Headless 360 MCP Server is a beta service that is subject to the Beta Services Terms at [Agreements - Salesforce.com](https://www.salesforce.com/company/legal/) 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 beta service is at the Customer's sole discretion.

**How:** Connect an AI coding assistant to your org through the Headless 360 MCP Server (Beta), and ensure that your org is connected to Salesforce CLI. Describe your goal to set up a flexible hierarchy. The assistant turns on the feature and creates the hierarchy type, including node definitions and relationships. Review the generated definitions and relationships, make any necessary adjustments, and confirm to apply the configuration to your org.

#### See Also

- [Developer Guide: _Headless 360 MCP Server_](https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/headless-360-mcp.html)