---
schema_version: "1"
id: b195ceae2dc4832a9abd0e8a03ed1d4c27c26103dca558b98f5a76915e128441
title: Use Change Sets to Migrate Bots Between Orgs
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/bots_service_change_set.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.bots_service_change_set.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1f1312bb8f8fe4f94a5f5a1d539506bb01e7b60516dcece67ce03edbee9b870e
description: You can use change sets to move bots between sandbox and production. Testing your bot in a sandbox and then moving it to production ensures your bot works as designed and reduces downtime.
products:
  - Service Cloud
  - Service Intelligence
release: "264"
---
# Use Change Sets to Migrate Bots Between Orgs

You can use change sets to move bots between sandbox and production. Testing your bot in a sandbox and then moving it to production ensures your bot works as designed and reduces downtime.

### 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;"><a href="https://help.salesforce.com/s/articleView?id=service.einstein_service_intro.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d53439e57">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d53439e57 ">To build and manage Einstein Bots:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d53439e57 ">
              <p>Customize Application</p>
              <p>OR</p>
              <p>Modify Metadata</p>
              <p>OR</p>
              <p style="margin-bottom:0;">Manage Bots</p>
            </td>

          </tr>
        </tbody>
      </table>

Before creating a change set, make sure your source and destination orgs have a deployment connection.

1. In your source org, create an outbound change set.
2. In the Change Set Components section, click **Add**.
3. Select the Bot component type, and then select your bot name. Click **Add to Change Set**.
4. Click **View/Add Dependencies**. Select the bot version you want to include, and then select **Add to Change Set**.
5. If your bot references custom flow definitions or Apex classes, include those components.
6. Upload your outbound change set.
7. When the change set is available in your target org, deploy your change set. Your bot is available on the Einstein Bots setup page.

Troubleshooting:

- If you’re moving a new flow into an org where it doesn’t yet exist, you must activate the flow in the destination org before opening the bot.
- Make sure to include the bot version in the change set.
- If you’ve deleted a dialog that was attached to an intent set, you may have an isolated intent set. Learn more at [Delete a Dialog with Intent Enabled](https://help.salesforce.com/s/articleView?id=service.bots_service_delete_dialog_intent.htm&release=264.0.0&type=5 "Before you delete a dialog with intent enabled, you must first remove any intent sets from the dialog. Otherwise, an intent set can become “stuck” to the deleted dialog, so that the intent set is no longer visible and can’t be used in a different dialog. You don’t need to remove utterances you’ve added manually.").

Change Sets with Multiple Languages:

To migrate a bot with changes in multiple languages (for example, adding a secondary language to a preexisting bot)"

- Select the Language Translation component type and include the secondary language.
- Add a translation for the dialog name of each dialog.

#### See Also

- [Change Sets](https://help.salesforce.com/s/articleView?id=platform.changesets.htm&type=5&language=en_US)
- [Upload Outbound Change Sets](https://help.salesforce.com/s/articleView?id=platform.changesets_about_outbound.htm&type=5&language=en_US)