> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vibedoc-ai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sharing & Collaboration

> Share documents via secure web links with customizable permissions

## Overview

VibeDoc makes it easy to share documents with anyone via secure web links. Control who can view, download, and see your branding - all without requiring recipients to create an account.

<img src="https://mintcdn.com/vibedoc/nyIpYqCdQSz9ZFvN/images/sharing-demo.png?fit=max&auto=format&n=nyIpYqCdQSz9ZFvN&q=85&s=8e49c04573affd6fa7aa59141f3a2149" alt="Document Sharing" className="rounded-lg border" data-path="images/sharing-demo.png" />

## How Sharing Works

<Steps>
  <Step title="Create Share Link">
    Click the **Share** button in your document editor
  </Step>

  <Step title="Configure Permissions">
    Set download permissions and branding options
  </Step>

  <Step title="Copy Link">
    Get a unique, shareable URL like:

    ```
    https://vibedoc-ai.com/share/abc123xyz
    ```
  </Step>

  <Step title="Share with Anyone">
    Send the link via email, Slack, or any channel
  </Step>
</Steps>

## Share Settings

### Permission Levels

<CardGroup cols={2}>
  <Card title="View Only" icon="eye">
    Recipients can view the document but cannot download or export
  </Card>

  <Card title="View & Download" icon="download">
    Recipients can view AND download a PDF copy
  </Card>
</CardGroup>

<Info>
  **Pro Feature:** View & Download permission is available on Pro and Enterprise plans. Free users can share view-only links.
</Info>

### Branding Options

<Tabs>
  <Tab title="With Branding">
    **Free & Pro Plans (default)**

    Shared documents display:

    * VibeDoc logo in footer
    * "Powered by VibeDoc" badge
    * Link to platform
  </Tab>

  <Tab title="Without Branding">
    **Pro & Enterprise Plans**

    Clean, white-label experience:

    * No VibeDoc branding
    * Your content only
    * Professional appearance
  </Tab>
</Tabs>

### Sharing Page Features

When someone visits your share link, they see:

* **Document Title** - Clear identification
* **Your Profile** - Name/email/avatar of the sharer
* **Full Content** - All blocks in preview mode
* **Download Button** - If permitted
* **Responsive Design** - Works on all devices

## Share Link Security

### Link Formats

Share links use unique, unguessable tokens:

```
https://vibedoc-ai.com/share/[random-token]
                            └─ 16+ character random string
```

<Warning>
  Anyone with the link can access the document. Treat share links like passwords.
</Warning>

### Access Control

<AccordionGroup>
  <Accordion title="Token-Based Access" icon="key">
    Each share link has a unique token. Without the exact token, the document is inaccessible.
  </Accordion>

  <Accordion title="No Account Required" icon="user-slash">
    Recipients don't need a VibeDoc account to view shared documents.
  </Accordion>

  <Accordion title="Revocable Links" icon="rotate-left">
    Disable a share link at any time to revoke access (Pro feature, coming soon).
  </Accordion>

  <Accordion title="Expiration" icon="clock">
    Set expiration dates for temporary sharing (Enterprise feature, coming soon).
  </Accordion>

  <Accordion title="Password Protection" icon="lock">
    Add password requirements to share links (coming soon).
  </Accordion>
</AccordionGroup>

## Use Cases

<CardGroup cols={2}>
  <Card title="Client Proposals" icon="handshake">
    Share proposals with clients who can download and sign
  </Card>

  <Card title="Portfolio Pieces" icon="briefcase">
    Showcase work samples with clean, brandless links
  </Card>

  <Card title="Team Reviews" icon="users">
    Get feedback from colleagues before finalizing
  </Card>

  <Card title="Public Documentation" icon="book-open">
    Share guides, policies, or FAQs publicly
  </Card>

  <Card title="Investor Decks" icon="chart-line">
    Distribute pitch decks with download controls
  </Card>

  <Card title="Contracts" icon="file-contract">
    Send contracts for review and signature
  </Card>
</CardGroup>

## Share Link Management

### Creating Links

1. **Open Document** - Navigate to the document you want to share
2. **Click Share** - Find the share button in the header
3. **Configure Settings** - Set permissions and branding
4. **Copy Link** - Click "Copy Link" to clipboard
5. **Distribute** - Send via your preferred channel

### Viewing Active Links

See all active share links for a document (coming soon):

```yaml theme={null}
Features:
  - List all share links per document
  - See creation date
  - View access count
  - Check permission level
  - Quick revoke
```

### Revoking Access

Disable a share link (Pro feature, coming soon):

<Steps>
  <Step title="Open Document Settings">
    Navigate to document settings panel
  </Step>

  <Step title="View Share Links">
    See list of all active share links
  </Step>

  <Step title="Revoke">
    Click "Revoke" next to the link
  </Step>

  <Step title="Confirm">
    Link immediately becomes invalid
  </Step>
</Steps>

<Warning>
  Revoked links cannot be restored. You'll need to create a new share link.
</Warning>

## Sharing vs. Exporting

| Feature            | Share Link   | PDF Export | Email           |
| ------------------ | ------------ | ---------- | --------------- |
| **Speed**          | Instant      | 10-30s     | Manual          |
| **Cost**           | Free         | Credits    | Free            |
| **Updates**        | Real-time\*  | Snapshot   | Manual          |
| **Access Control** | Link-based   | File-based | Recipient-based |
| **Analytics**      | Yes\*\*      | No         | No              |
| **Branding**       | Configurable | Watermark  | N/A             |

<Note>
  \* Real-time updates coming in v2.0
  \*\* Analytics available on Enterprise plan
</Note>

## Analytics & Tracking

### View Counts

Track how many times your document has been viewed (Pro feature, coming soon):

* **Total Views** - All-time view count
* **Unique Visitors** - Distinct IP addresses
* **View History** - Timeline of views
* **Geographic Data** - Where viewers are located

### Engagement Metrics

Understand how recipients interact with your content (Enterprise feature, coming soon):

* **Time on Page** - How long viewers spend
* **Scroll Depth** - How far they read
* **Download Events** - When PDFs are downloaded
* **Device Types** - Desktop, mobile, tablet

## Collaboration Features

### Comments (Coming Soon)

Allow recipients to leave comments on shared documents:

```yaml theme={null}
Features:
  - Inline comments on blocks
  - Thread discussions
  - Resolve/unresolve
  - Email notifications
  - Mention specific users
```

### Suggestions (Coming Soon)

Recipients can suggest edits:

```yaml theme={null}
Features:
  - Suggest text changes
  - Add new blocks
  - Modify tables
  - Accept/reject suggestions
  - Track suggestion history
```

### Real-Time Collaboration (Coming Soon)

Multiple users editing simultaneously:

```yaml theme={null}
Features:
  - Live cursors
  - Presence indicators
  - Conflict resolution
  - Operational transforms
  - Chat sidebar
```

## Advanced Sharing

### Custom Domains (Enterprise)

Use your own domain for share links:

```plaintext theme={null}
Before: https://vibedoc-ai.com/share/abc123
After:  https://docs.yourcompany.com/abc123
```

### Embed Documents

Embed documents in your website (coming soon):

```html theme={null}
<iframe
  src="https://vibedoc-ai.com/embed/abc123"
  width="100%"
  height="600px"
  frameborder="0">
</iframe>
```

### API Access

Share documents programmatically (Enterprise feature):

```javascript theme={null}
// Future API
const shareLink = await vibedoc.share({
  documentId: 'doc_123',
  permissions: {
    download: true,
    branding: false
  },
  expires: '2025-12-31'
});

console.log(shareLink.url);
// => https://vibedoc-ai.com/share/xyz789
```

## Best Practices

<AccordionGroup>
  <Accordion icon="check" title="Use Descriptive Titles">
    Ensure your document title clearly identifies the content so recipients know what they're viewing.
  </Accordion>

  <Accordion icon="check" title="Set Appropriate Permissions">
    Only enable download if needed. View-only is more secure for sensitive content.
  </Accordion>

  <Accordion icon="check" title="Test Before Sharing">
    Open the share link yourself to verify it looks correct before sending to others.
  </Accordion>

  <Accordion icon="check" title="Use Professional Email">
    When sharing, send from a professional email address with context about the document.
  </Accordion>

  <Accordion icon="xmark" title="Don't Share Publicly on Social Media">
    Unless intended for public consumption, avoid posting share links on Twitter, LinkedIn, etc.
  </Accordion>

  <Accordion icon="xmark" title="Don't Reuse Links">
    Create separate share links for different audiences to maintain control.
  </Accordion>
</AccordionGroup>

## Troubleshooting

<AccordionGroup>
  <Accordion icon="circle-question" title="Link not working">
    **Possible Causes:**

    * Link was revoked
    * Document was deleted
    * Typo in URL

    **Solutions:**

    * Verify URL is complete
    * Check if document still exists
    * Generate a new share link
  </Accordion>

  <Accordion icon="circle-question" title="Can't download PDF">
    **Cause:**
    Download permission is disabled or requires Pro plan.

    **Solution:**

    * Ask document owner to enable download
    * Upgrade to Pro if you're the owner
  </Accordion>

  <Accordion icon="circle-question" title="Branding shows on Pro plan">
    **Cause:**
    "Remove Branding" option wasn't enabled when creating share link.

    **Solution:**

    * Create a new share link with branding disabled
    * Or update existing link settings (coming soon)
  </Accordion>

  <Accordion icon="circle-question" title="Document looks different">
    **Cause:**
    Shared view uses preview mode which may differ slightly from edit mode.

    **Solution:**
    This is expected. Shared documents always show preview mode.
  </Accordion>
</AccordionGroup>

## Privacy & Compliance

### Data Protection

<Info>
  VibeDoc is committed to protecting your data:

  * Share links use secure HTTPS
  * No tracking cookies without consent
  * GDPR-compliant data handling
  * SOC 2 Type II certified (coming 2025)
</Info>

### Sensitive Documents

For highly sensitive documents:

* Use password protection (coming soon)
* Set expiration dates (coming soon)
* Enable view-only mode
* Monitor access logs (Enterprise)
* Consider using enterprise SSO

## Roadmap

Upcoming sharing features:

<Steps>
  <Step title="Q1 2025">
    * Link revocation
    * View analytics
    * Custom domains (Enterprise)
  </Step>

  <Step title="Q2 2025">
    * Password protection
    * Expiration dates
    * Embed support
    * Comments & suggestions
  </Step>

  <Step title="Q3 2025">
    * Real-time collaboration
    * Advanced analytics
    * Custom branding options
    * Webhooks & API
  </Step>
</Steps>

## Next Steps

<CardGroup cols={2}>
  <Card title="Export to PDF" icon="file-pdf" href="/features/export">
    Learn about PDF downloads
  </Card>

  <Card title="Template Customization" icon="palette" href="/features/templates">
    Style shared documents
  </Card>

  <Card title="Credits & Billing" icon="coins" href="/guides/credits-billing">
    Understand plan features
  </Card>

  <Card title="Creating Documents" icon="file-plus" href="/guides/creating-documents">
    Create shareable content
  </Card>
</CardGroup>
