---
title: "Copy a JS module to another tenant"
slug: "copy-a-js-module-to-another-tenant"
abstract: "Copy a JS module in Sitecore Personalize from one tenant to another."
---
# Copy a JS module to another tenant

Sitecore Personalize lets you copy a JS module from one tenant to another using the [Copy to tenant](https://doc.sitecore.com/personalize/en/users/sitecore-personalize/developer-center/copying-entities-between-tenants.html "Copying entities between tenants") feature. For example, you can copy a JS module from a non-production environment to a production environment. This process saves time and reduces errors from manual copying and pasting.

Team members with a *User*, *Developer*, or *Admin* role in Sitecore Cloud Portal can copy a JS module between tenants.

To copy a JS module to another tenant:

1. From the **JS modules** page, open the module you want to copy.
2. Click ![Horizontal ellipsis](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/pers_deleteEllipsis.png) > **Copy to tenant**.

    ![Copying a JS module in the Developer Center to another tenant](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/Copy_JS_module_to_tenant.png)

3. Select a destination tenant from the drop-down list. The list only includes tenants you have access to. Click **Go**.
4. In the **Copy To Tenant** page, enter a unique name for the JS module. Sitecore Personalize automatically creates an ID when you name the module.

    > [!important]
    > If a draft JS module with the same name already exists in the destination tenant, to avoid conflicts, you can overwrite the JS module or create a new one with a unique name.

5. Click **Create**. A message appears on the page confirming that the JS module has been successfully copied. The copied module opens in the editor within the selected destination tenant.

    You can either use the copy as is, or modify it as needed, without impacting the original entity.