Quickstart guide
This guide will help you create your first collaborative document and invite team members to collaborate in real-time.Prerequisites
Before you begin, make sure you have:- Completed the installation setup
- The application running on
http://localhost:3000 - A valid email address for authentication
Create your first document
Sign in to your account
Navigate to Create an account using your email address. After signing in, you’ll be redirected to your documents dashboard.
http://localhost:3000 and click the sign-in button. You’ll be redirected to the Clerk authentication page.Start a blank document
On the home page, click the “Start a blank document” button. This will create a new document and redirect you to the editor.Each document is created with:
- A unique room ID (generated using nanoid)
- Default title “Untitled”
- Full write access for the creator
- Your email as the owner
Edit your document
You’re now in the editor. Start typing to create content. As the document creator, you have full editing capabilities:
- Format text: Use the toolbar to apply bold, italic, and other formatting
- Add headings: Structure your content with heading styles
- Edit title: Click the edit icon next to the document title to rename it
All changes are saved automatically and synced in real-time with Liveblocks.
Invite collaborators
Click the “Share” button in the top-right corner to invite others to your document.The invited user will receive an inbox notification and can immediately access the document.
- Enter the collaborator’s email address
- Select their access level:
- Editor: Can view and edit the document
- Viewer: Can only view the document (read-only)
- Click “Invite” to send the invitation
Collaborate in real-time
When collaborators join your document, you’ll see:
- Active collaborators: Avatar badges showing who’s currently viewing the document
- Live cursors: See where other users are typing in real-time
- Presence indicators: Know when collaborators join or leave
- Add comments: Select text and add threaded comments
- Reply to comments: Engage in discussions about specific content
- Resolve threads: Mark comment threads as resolved when addressed
What’s next?
Now that you’ve created your first collaborative document, explore more features:- Learn about permission levels and access control
- Understand the document lifecycle from creation to deletion
- Explore real-time features like presence and comments
- Configure authentication settings for your organization
Common actions
Delete a document
Only the document creator or users with editor permissions can delete documents:- Click the delete icon (trash can) in the toolbar
- Confirm the deletion in the modal dialog
- You’ll be redirected to the home page
Manage collaborators
From the Share modal, you can:- View all current collaborators
- Change a collaborator’s permission level
- Remove collaborators (except yourself)
- See who created the document
View all your documents
The home page displays all documents you have access to, showing:- Document title
- Creation timestamp (e.g., “Created about 2 hours ago”)
- Quick access to open or delete documents