Collaboration
AI-ERD has two ways to share a diagram and a real-time channel for live updates.
Public Share Link
Generate a read-only link that anyone can open without signing in.
How to use:
- Open the diagram
- Share → Public link
- Toggle Public sharing on; copy the link
The link looks like:
https://ai-erd.com/s/{shareToken}
Anyone with the token can view the diagram (read-only). Tokens are random and can be regenerated to invalidate the old link. Toggling public share off removes access immediately.
Public links are view-only — viewers cannot edit, leave comments, or see version history.
Individual User Permissions
For team collaboration, share with specific users by email and assign a role:
| Role | Can view | Can edit | Can delete | Can manage shares |
|---|---|---|---|---|
| OWNER | ✓ | ✓ | ✓ | ✓ |
| EDITOR | ✓ | ✓ | ✗ | ✗ |
| VIEWER | ✓ | ✗ | ✗ | ✗ |
| NONE | ✗ | ✗ | ✗ | ✗ |
How to share:
- Open the diagram
- Share → Manage access
- Add a user by email and pick a role
- They'll see the diagram in their Shared with me list
You can change a user's role or remove them at any time. Only the owner can delete the diagram or manage shares.
Team sharing requires a paid plan.
Real-time Updates
When two or more users have the same diagram open, edits propagate live over Server-Sent Events (SSE). You'll see:
- New tables / columns / refs appearing as they're created
- Position changes when someone moves a table
- Renames, color changes, group changes
The model is last-write-wins with version snapshots as a safety net — if you and a teammate touch the same column at the same moment, one write will win, but both versions are preserved in Version History so nothing is permanently lost.
Real-time collaboration requires a paid plan. Free-tier users see updates only on page refresh.
Collaboration with AI tools
AI-ERD's collaboration model also extends to AI coding tools via MCP. When Claude Code, Cursor, or another MCP client modifies the schema, the changes:
- Appear live in the canvas for any teammate watching
- Create a version snapshot with the description "Updated via MCP"
- Trigger the same conflict-resolution and audit trail as a human edit
This means a human and an AI can co-design a schema in real time without stepping on each other.