# Understand collaboration

> Let people edit the same document together, using your existing editor UI.



Without collaboration, two people opening the same DOCX are editing separate copies. With collaboration, they work on a shared document: an edit in one person's editor appears in the other's.

## One document, two editors [#one-document-two-editors]

Alex changes a delivery date. Sam sees the new date without reloading the document or opening another file.

> **Illustration: two editors, one shared document.** Alex changes the delivery date to Friday. A provider carries the change through their shared room, and Sam sees Friday in the other editor. Both people can edit.


Both people can edit. SuperDoc synchronizes their document changes while each person keeps their own view and selection.

## Connect through a room [#connect-through-a-room]

A **room** connects the editors working on one shared document. Your application gives that room an ID so each editor knows which document to join. Opening the same file URL in two browsers does not connect them.

A **provider** carries changes between the connected editors. You can run a collaboration server yourself or use a hosted service. The next guide starts with a local Hocuspocus server.

The first editor creates the room from a DOCX. The second joins that room. From then on, they work with its shared content.

## Keep the UI you already built [#keep-the-ui-you-already-built]

Collaboration works with built-in controls, custom controls, or a mix of both. You add a connection to the document; you do not need to rebuild your toolbar or review panels.

Your application still decides who can access the document and how it is saved. Those are server responsibilities, separate from showing another person's edits.

## Try it with two editors [#try-it-with-two-editors]

[Connect two editors](/editor/collaboration/connect-two-editors) walks you through creating a room, joining from another tab, and watching an edit appear in both. Start there, then add presence and persistent storage.
