---
schema_version: "1"
id: 21b77c204b0b16a477ba2f1b1073e8b2cde803a1e9ea7536440158e03971505a
title: Salesforce CMS Content Key
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/cms_content_key.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.cms_content_key.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b00fdea7586434b90eb7e369c96d5786bc24ec79ee9ba42641d27303f15d9537
description: The Salesforce CMS content key is a unique identifier that sticks with your content through version updates and across Salesforce orgs, sites, and components. You can use the content key to copy content between orgs, such as from sandbox to production, using the Salesforce CMS export and import feature.
products:
  - Salesforce CMS
  - Cross Cloud
release: "264"
---
# Salesforce CMS Content Key

The Salesforce CMS content key is a unique identifier that sticks with your content through version updates and across Salesforce orgs, sites, and components. You can use the content key to copy content between orgs, such as from sandbox to production, using the Salesforce CMS export and import feature.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

Content keys help you track your content and maintain consistency. When you add a new content item to a Salesforce CMS workspace, it's automatically assigned a content key. The content key value can’t be customized.

Content keys are 28 characters long and begin with the prefix MC, which stands for Managed Content. The content key can be found:

- In the output file from the success email you receive after content is imported or exported. The content key is listed in the ref attribute.
- On the content details page in a CMS workspace.
- On the content variant details page in an enhanced CMS workspace.
- In the [Managed Content Delivery API](https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_responses_managed_content_version_collection.htm) response.
- On the content detail page URL in an Experience Builder site. In the browser address bar locate the `/{content type name}/{content slug}-MC` portion of the URL.
    
    ![Content key location in content details URL](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-communities_managed_content-264-0-0-production-enus/8b149fc1-875c-4018-8e9e-2843a2196457/communities_managed_content/images/cms_content_key_url.png)

## Content Key Considerations

When using the content key, there are few things to keep in mind.

- For custom components, use the `lightning:navigation` component to navigate to a given `pageReference` or to generate a URL from a `pageReference` using the `standard__managedContentPage` type. See [_Lightning Aura Components Developer Guide:_ pageReference Types](https://developer.salesforce.com/docs/component-library/bundle/lightning:navigation/documentation).
- In Experience Builder site channels, we recommend that you change the existing Navigation Menu item on the CMS detail page to use the Content Key based URL. This action ensures that navigation to your content still works if your site is moved to another org. In your Salesforce CMS workspace, copy the URL on the content details page. Then, in Experience Builder, go to **Settings** | **Navigation**. Click the navigation menu name and then menu item. In the URL field, replace the URL with the one you copied from the CMS detail page. Then click **Save Menu**.

For more information about how to import CMS content, see [Import Content into Salesforce CMS](https://help.salesforce.com/s/articleView?id=xcloud.cms_import_content.htm&release=264.0.0&type=5 "Import images, news, documents, or custom content types into a CMS workspace or an enhanced CMS workspace by uploading a .zip archive of JSON files. Transfer content from an external source or CMS, or mass-import images from an external digital asset manager (DAM), for product enrichment.").