---
schema_version: "1"
id: e59c2c31e2b3b50070cea15f6c413392052679033cce3ccf112729bbc20816ca
title: Assign a Site to a Library in B2C Commerce
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_assigning_a_site_to_a_library.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_assigning_a_site_to_a_library.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9dfd219d93b8e064546728275df1c8d05441325336d04ca7f9ade8202e8a51cf
description: When you’ve created a library, assign it to a site. See Content Libraries. You can create and delete libraries or change the assignment of libraries only on staging and sandbox instances.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Assign a Site to a Library in B2C Commerce

When you’ve created a library, assign it to a site. See Content Libraries. You can create and delete libraries or change the assignment of libraries only on staging and sandbox instances.

This functionality isn’t available on development or production instances. If you change libraries on staging instances, you can transfer the changes to development or production instances using data replication.

1. To view your organization's libraries, click App Launcher ![App Launcher](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), and then select **Administration** | **Sites** | **Content Libraries**.
2. On the Libraries page, click **New** or a library **Edit** link to create or select a library.
3. On the Library page General tab:
    1. Select the language.
    2. Enter the library ID. The ID is non-modifiable once created.
    3. Enter or change the library name.
    4. Enter or change the description
    5. Click **Apply**.
        
        When creating a new shared library, the Library page General tab reappears showing the Site Assignments section.
4. To change the site assignment, click the **Add** button in the Site Assignment section.
    
    This button only appears if it's possible to assign the library to one or more other sites. See Content Libraries, the _Shared libraries_ section.
5. On the Reassign Sites window, select the sites you want to assign to the library and click **OK**.
    
    The assigned sites appear in the Site Assignments section.
6. To return to the Libraries page, click **<< Back to List**.
    
    The new library appears in the grid.