Import from Slack
You can import your current workspace into a Zulip organization. It’s a great way to preserve your workspace history when you migrate to Zulip, and to make the transition easy for the members of your organization.
The import will include your organization’s:
- Name and Logo
- Message history, including attachments and emoji reactions
- Users and account fields supported by the source export, such as names, emails, roles, avatars, time zones, and custom profile fields
- Channels, including all user subscriptions
- Custom emoji
Import process overview
Section titled “Import process overview”To import your Slack organization into Zulip, you will need to take the following steps, which are described in more detail below:
- Export your Slack data.
- Import your Slack data into Zulip.
- Clean up after the Slack export.
- Decide how users will log in!
Be sure to check out the guide on moving from Slack for a walkthrough of the transition process.
Import your organization from Slack into Zulip
Section titled “Import your organization from Slack into Zulip”Export your Slack data
Section titled “Export your Slack data”Slack’s data export service exports retained public-channel messages and file links. Deleted data is not restored by export; confirm the available history before planning the import.
Export options depend on the plan and account permissions. Exports including private channels and direct messages are available on Business+ and Enterprise plans with the required approval. On the Free plan, exported file links are limited to the last 90 days.
Workspace or organization owners should request the required export access before scheduling the migration. Confirm that the JSON export format is supported by the importer on your destination server.
Export message history
Section titled “Export message history”- Make sure that you are an owner or admin of your Slack workspace. If you are one, the Slack web application will display that in your profile, in a banner covering the bottom of your avatar.
- Export your Slack message history.
When Slack notifies you that the export is ready, download the
zipfile and check its contents before transferring it.
Export user data and custom emoji
Section titled “Export user data and custom emoji”- Make sure that you are an owner or admin of your Slack workspace. If you are one, the Slack web application will display that in your profile, in a banner covering the bottom of your avatar.
- Create a new Slack app. Choose the From scratch creation option.
- Create a
bot user,
following the instructions to add the following OAuth scopes to your bot:
emoji:readusers:readusers:read.emailteam:read
- In OAuth & Permissions, under OAuth Tokens, click Install to Workspace. Grant the app permission to access your workspace by clicking Allow when prompted.
- You will immediately see a Bot User OAuth Token, which is a long
string of numbers and characters starting with
xoxb-. Copy this token. It grants access to download user and emoji data from your Slack workspace.
Import your data into Zulip
Section titled “Import your data into Zulip”Choose how the destination server will be hosted with your operator or administrator before transferring the export. Confirm its version, supported import format, organization address and access permissions.
- Contact your operator to confirm whether self-service Slack import is offered, and obtain its registration URL. If a trial organization already exists, agree on a separate import destination and preserve its data before proceeding.
- If the operator provides the self-service form described here, enter the information to create a new organization. Under Import chat history?, select Import from Slack. Otherwise use the operator-managed import below.
- Click Complete registration in the confirmation email you received.
- Enter your Slack Bot User OAuth Token, which will be a long
string of numbers and characters starting with
xoxb-, and click Submit. - Click Start upload to upload the exported data
.zipfile from your Slack workspace. - Configure Who will be allowed to see other users’ email addresses?, and click Start import. The import may take some time to complete.
- If you’re using a different registration email from your Slack account, select your Slack account from the dropdown. If you don’t have an account in the imported workspace, you can create a new Zulip account.
- Set a password for your Zulip account, and click Submit.
Contact your operator to agree on the destination and a protected transfer method. Provide:
- The requested organization address. Confirm the domain, new organization creation, supported server version and required import scope with the operator.
- The exported data containing your workspace history, using the agreed transfer method. Confirm which private messages and personal data are included.
- Your Slack Bot User OAuth Token, which will be a long
string of numbers and characters starting with
xoxb-.
Import into a self-hosted Zulip server
Agree on the supported import format, server version, disk and memory requirements with your administrator. Run a trial import and check its results before the final migration. For large exports or performance issues, contact support.
- Follow steps 1 and 2 of the guide for installing a new Zulip server.
- Copy the exported data file containing your workspace message
history export onto your Zulip server, and put it in
/tmp/. - Log in to a shell on your Zulip server as the
zulipuser. - To import into an organization hosted on the root domain
(
EXTERNAL_HOST) of the Zulip installation, run the following commands, replacing<token>with your Slack Bot User OAuth Token.Alternatively, to import into a custom subdomain, run:Terminal window cd /home/zulip/deployments/current./scripts/stop-server./manage.py convert_slack_data /tmp/slack_data.zip --token <token> --output /tmp/converted_slack_data./manage.py import '' /tmp/converted_slack_data./scripts/start-serverTerminal window cd /home/zulip/deployments/current./scripts/stop-server./manage.py convert_slack_data /tmp/slack_data.zip --token <token> --output /tmp/converted_slack_data./manage.py import <subdomain> /tmp/converted_slack_data./scripts/start-server - Follow step 4 of the guide for installing a new Zulip server.
Import details
Section titled “Import details”Whether your operator manages the server or your organization maintains it, here are few notes to keep in mind about the import process:
- Slack does not export workspace settings, so you will need to configure the settings for your Zulip organization. This includes settings like email visibility, message editing permissions, and how users can join your organization.
- Slack does not export user settings, so users in your organization may want to customize their account settings.
- Slack’s user roles are mapped to Zulip’s user
roles in the following way:
Slack role Zulip role Workspace Primary Owner Owner Workspace Owner Owner Workspace Admin Administrator Member Member Single Channel Guest Guest Multi Channel Guest Guest Channel creator none - Slack threads are imported as topics with names that include snippets of the original message, such as “2023-05-30 Hi, can anyone reply if you’re o…”.
- Message edit history and
@user joined #channel_namemessages are not imported.
Clean up after the Slack export
Section titled “Clean up after the Slack export”Once your organization has been successfully imported in to Zulip, you should delete the Slack app that you created in order to export your Slack data. This will prevent the OAuth token from being used to access your Slack workspace in the future.
Decide how users will log in
Section titled “Decide how users will log in”When user accounts are imported, users initially do not have passwords configured. There are a few options for how users can log in for the first time.
Allow users to log in with non-password authentication
After the administrator enables and configures the required identity providers, users can log in with authentication methods that do not require a password. Supported providers depend on your server configuration and can include Google, GitHub, GitLab, Apple, Discord, LDAP and SAML.
Send password reset emails to all users
You can send password reset emails to all users in your organization, which will allow them to set an initial password.
If your operator manages the destination server, contact support to arrange initial password reset emails. Confirm email delivery and account matching with a test user before the organization-wide send.
Send password reset emails (self-hosted organization)
- To test the process, start by sending yourself a password reset email by
using the following command:
Terminal window ./manage.py send_password_reset_email -u username@example.com - When ready, send password reset emails to all users by
using the following command:
Terminal window ./manage.py send_password_reset_email -r '' --all-users
- To test the process, start by sending yourself a password reset email by
using the following command:
Terminal window ./manage.py send_password_reset_email -u username@example.com - When ready, send password reset emails to all users by
using the following command:
If you would like to only send emails to users who have not logged in yet, you can use the following variant instead:
Terminal window ./manage.py send_password_reset_email -r <subdomain> --all-usersTerminal window ./manage.py send_password_reset_email -r <subdomain> --all-users --only-never-logged-in
Manual password resets
Alternatively, users can reset their own passwords by following the instructions on your Zulip organization’s login page.
View imported user accounts
You can see and manage a list of imported users who have not logged in yet to activate their Zulip account.
- Navigate to the Users tab of the Organization settings menu.
- Select the Imported tab.
Onboarding
Section titled “Onboarding”To prepare your organization for transitioning to Zulip, follow the guide on moving from Slack.