Skip to content

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

To import your Slack organization into Zulip, you will need to take the following steps, which are described in more detail below:

  1. Export your Slack data.
  2. Import your Slack data into Zulip.
  3. Clean up after the Slack export.
  4. 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”

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.

  1. 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.
  2. Export your Slack message history. When Slack notifies you that the export is ready, download the zip file and check its contents before transferring it.
  1. 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.
  2. Create a new Slack app. Choose the From scratch creation option.
  3. Create a bot user, following the instructions to add the following OAuth scopes to your bot:
    • emoji:read
    • users:read
    • users:read.email
    • team:read
  4. In OAuth & Permissions, under OAuth Tokens, click Install to Workspace. Grant the app permission to access your workspace by clicking Allow when prompted.
  5. 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.

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.

  1. 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.
  2. 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.
  3. Click Complete registration in the confirmation email you received.
  4. Enter your Slack Bot User OAuth Token, which will be a long string of numbers and characters starting with xoxb-, and click Submit.
  5. Click Start upload to upload the exported data .zip file from your Slack workspace.
  6. Configure Who will be allowed to see other users’ email addresses?, and click Start import. The import may take some time to complete.
  7. 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.
  8. Set a password for your Zulip account, and click Submit.

Whether your operator manages the server or your organization maintains it, here are few notes to keep in mind about the import process:

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.

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)

  1. 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
  2. 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

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.

  1. Navigate to the Users tab of the Organization settings menu.
  2. Select the Imported tab.

To prepare your organization for transitioning to Zulip, follow the guide on moving from Slack.