# Import from Slack

> Step-by-step import of Slack channels, threads, pinned messages and files into Sofia Space Chat — creating the read-only Slack app, choosing channels and who joins them, mapping people, history limits, timing, and the report.

Source: https://docs.sofiaspace.uz/admin/import-from-slack/

The Slack importer copies **channels** from a Slack workspace into Sofia Space **Chat**: messages, threads, pinned messages and, if you like, files. It only reads — nothing in Slack is changed, and nobody in Slack is notified.

**Who can do this:** Org Admins. **Where:** **Settings → Advanced → Import from Jira & Confluence**, then **New import** and **Slack**. Only one import (of any kind) can run at a time. **Chat** must be turned on in **Settings → Advanced → Modules**. Importing isn't available in self-hosted installations yet.

For Jira and Confluence, see [Import from Jira and Confluence](https://docs.sofiaspace.uz/admin/import-from-jira-and-confluence.md).

## What comes across

| Comes across | Doesn't come across |
| --- | --- |
| Public channels | Direct messages and group messages |
| Private channels **your** Slack account is in | Private channels your Slack account isn't in |
| Archived channels (listed, not ticked) | Custom emoji as reactions (in text they stay as `:name:`) |
| Threads and pinned messages | Earlier versions of edited messages |
| Reactions with standard emoji | Huddles, calls and canvases |
| Files (optional) | Workflows, app buttons and link previews |

## Step 1: Connect by creating a Slack app

Sofia Space reads Slack through a small read-only app that **you** create in your Slack workspace. It takes about two minutes.

1. On the **Connect to Slack** screen, choose **Copy setup**. This copies the app manifest for a read-only app called **Sofia Space import**.
2. Choose **Open Slack's app page**.
3. In Slack, choose **Create New App**, then **From a manifest**. Pick your Slack workspace, paste the setup, and create the app.
4. Choose **Install to Workspace** and allow it.
5. In the app, open **OAuth & Permissions** and copy the **User OAuth Token**. It starts with `xoxp-`.
6. Paste it into Sofia Space and connect.

Common mistakes Sofia Space catches:

- **That is the Bot User OAuth Token.** — copy the *User* OAuth Token instead (`xoxp-`, not `xoxb-`).
- **The app is missing these permissions: …** — create the app again from the copied setup, install it, and paste the new token.

The app reads channels, their history, people (with their email addresses), files, pins and reactions. The token is stored encrypted and deleted when the import ends.

Install the app with an account that is **in every private channel** you want to bring — private channels it isn't in aren't listed. Ask the channel's owner to add you, then start a new import.

Sofia Space then looks through your Slack workspace: channels, people, and messages, threads and files. You can leave the page while it does.

## Step 2: Channels

Each row shows a channel's members, messages, threads, files and its oldest message, with badges for **Private**, **Archived**, **Shared with another organization** and **Imported before**.

1. Tick the channels to bring (**Select every channel** ticks all).
2. For each **public** channel, choose **Who joins** it in Sofia Space:
   - **Its Slack members** — the people who are in it in Slack.
   - **Everyone** — everyone you map into Sofia Space. A good choice for `#general`.
   A **private** channel always keeps **Its own members**.
3. Choose whether to **Import files**. The size is shown; files larger than your plan's file size are skipped and listed in the report.

The totals line estimates how long the import will take.

## Step 3: People

Everyone in the Slack workspace who could appear in these channels is listed with what they become:

| Choice | Result | Seat |
| --- | --- | --- |
| **Match to a member** | Their messages are credited to an existing member, matched by email. | Already counted |
| **Invite** | They get an invitation when the import starts. Needs an email. | Uses a seat |
| **Credit by name** | Their messages keep their name, marked **Imported**. | No seat |

Slack usually shares people's emails with the app, so most people match automatically. Deactivated people, bots and people from other organizations are credited by name by default.

## Step 4: Review and start

The **Review** screen shows channels, messages, threads and files, and checks:

- **Chat is turned off for this workspace** — turn it on in **Settings → Advanced → Modules** (**Open Modules**), then start.
- **Your plan shows the last N days of chat** — on a plan with limited chat history, older messages are imported and kept, but hidden until you upgrade.
- **Slack showed only about the last 90 days** — on Slack's free plan, older history is hidden from the import too.
- **This takes about {time} at Slack's rate limits** — the import pauses and resumes by itself.
- Seats for invited people, storage and file size, as for any import.

Choose **Start import**.

## While it runs

Slack limits how fast its history can be read, so a big workspace takes **hours**. You can leave the page; the import carries on by itself.

- **Pause**, **Resume** and **Cancel import** work as for any import. What's already imported stays.
- **Slack asked Sofia Space to slow down** — nothing to do; it waits and resumes.
- **The Slack token stopped working** — the app was removed or reinstalled. Paste its new **User OAuth Token** to carry on. It must belong to the same Slack person and workspace.

## After the import

1. Read the **Import report**: totals, and **What didn't come across** grouped by reason, each linking back to Slack. **Download as CSV** keeps a copy.
2. **Delete the Sofia Space import app in Slack** (**Open your Slack apps**). Sofia Space has deleted its copy of the token, but the app keeps its access until you delete it.
3. Choose **Open Chat**. Each channel is open to whoever you chose for it. Messages from people without an account show their name, marked **Imported**.

Running another import of the same Slack workspace adds to the channels it created earlier (they show **Imported before**) rather than copying them twice.

## What you can't do

- You can't import direct messages or group messages.
- You can't import private channels the connecting Slack account isn't in.
- You can't keep the import running against Slack continuously; it's a one-time copy. Messages sent in Slack afterwards aren't synced.
- You can't run a Slack import and an Atlassian import at the same time.

## Related

- [Import from other tools](https://docs.sofiaspace.uz/admin/importing.md)
- [Channels and messages](https://docs.sofiaspace.uz/chat/channels-and-messages.md)
- [Plans and billing](https://docs.sofiaspace.uz/admin/plans-and-billing.md) — chat history limits
