---
schema_version: "1"
id: b288e805e103088d13f57ce549170622bd00447180d44c09254ec7706e9b36d6
title: Moving Orgs & Sandbox Refreshes for Slack Apps
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/salesforce-slack-sdk/apex-slack-sdk/guides/packaging/packaging_refresh.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-slack-sdk/guide/packaging_refresh.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: c3f2bd120588a7f5541edd88815059afc791ee10c8fa9d8abb1f67396f65975c
products:
  - Apex SDK for Slack (Beta)
---
# Moving Orgs & Sandbox Refreshes for Slack Apps

## Move a Slack App Connection from One Org to Another

To disconnect a Slack app from one org and reconnect it to another org, use the following steps:

**note:** Disconnecting a Slack App will delete all user mappings.

1. Uninstall the app from the workspace in Slack.
2. Wait approximately 15 minutes for the connections to be reset. If it is a custom app, make sure you subscribe to the app_uninstalled event.
3. Reinstall the app into the workspace and connect the app to the new org.

## Refresh a Production Sandbox with a Slack App

When you refresh your full copy sandbox from production, you’ll notice user mappings from production are preserved. The mappings will not interfere with connecting the same Slack app from a test Slack workspace environment. In order to give you the smoothest experience, follow these steps:

1. Uninstall the Slack app from the test workspace to clean up Slack traffic to the newly refreshed org.

**note:** Don’t uninstall production because it will delete your user mappings.

1. Refresh your sandbox.
2. Once the refresh is complete, reinstall and reconnect the Slack app to your new sandbox org.

## Troubleshooting

If the any of these problems exist:

- Your sandbox was refreshed before uninstalling your Slack app.
- The Slack app is behaving weirdly or not working at all.
- The app appears installed and working but won’t respond to slash commands.

Follow these steps:

1. Uninstall the app and wait 15 minutes.
2. Reinstall the app.
3. Connect to the new sandbox org.
