intermediate
demo
sales
access-control

Demo Link Management

Complete guide to creating, managing, and tracking temporary demo access links for prospects and product demonstrations

Levy Fleets Team25 de diciembre de 202515 min read

Demo Link Management

Demo Links provide time-limited access tokens that allow prospects and potential customers to experience the Levy Fleets dashboard without creating a permanent account. This feature is essential for sales demonstrations, product evaluations, and partnership discussions.

Navigate to Dashboard > Demo Links from the main navigation.

Requirements:

  • User role must be super_admin
  • Feature not visible to other roles (including global_admin)

Access Restriction

Demo Links management is exclusively available to Super Admin users. If you don't see this option in your navigation, contact your system administrator to verify your role permissions.

Overview

Demo links are:

  • Temporary: Expire after a configured period (1-30 days)
  • Secure: Use 64-character cryptographically random tokens
  • Trackable: Record first access IP and timestamp
  • Revocable: Can be immediately invalidated
  • Isolated: Access only demo subaccount data

Use Cases

  • Sales Demos: Show prospects the dashboard capabilities
  • Partner Evaluations: Let potential partners explore the system
  • Conference Demos: Provide attendees with temporary access
  • Customer Trials: Limited-time product trials
  • Training: Onboard new team members

Step-by-Step

1

Navigate to Demo Links

Go to Dashboard > Demo Links in the sidebar navigation.

2

Click Generate Link

Click the "Generate Link" button to open the creation modal.

3

Configure Expiration

Select the duration from the dropdown:

  • 1 Day (24 hours)
  • 3 Days (72 hours)
  • 7 Days (1 week) - Default
  • 14 Days (2 weeks)
  • 30 Days (1 month)
4

Add a Note (Optional)

Enter a description to help track who the link is for (e.g., "John Smith - Acme Corp demo").

5

Generate and Copy

Click "Generate" and copy the URL to share with your prospect.

Expiration Options

OptionDurationTypical Use
1 Day24 hoursQuick demos
3 Days72 hoursShort evaluations
7 Days1 weekDefault - Standard demos
14 Days2 weeksExtended evaluations
30 Days1 monthTrials, onboarding

Generated URL Format

https://fleets.levyelectric.com/demo?token=<64-character-hex-token>

The token is a cryptographically secure random string that cannot be guessed.

Best Practice

Always add a descriptive note when creating demo links. This makes it easy to track which prospect received which link and helps with follow-up.


The management interface displays a table with all generated links:

ColumnDescription
StatusCurrent link status (see below)
NoteDescription you provided
CreatedWhen the link was generated
ExpiresExpiration date/time
First UsedWhen someone first accessed the link
ActionsCopy link, Revoke link
StatusBadgeDescription
ActiveGreenReady to use, not accessed yet
UsedBlueHas been accessed at least once
ExpiredGrayExpiration date has passed
RevokedRedManually invalidated by admin

Actions

Copy Link: Click to copy the full demo URL to clipboard

Revoke: Click to immediately invalidate the link

  • Revoked links cannot be used
  • Revocation is immediate and irreversible
  • Anyone currently using the link will be logged out

User Journey

  1. Prospect receives link: Via email, chat, or in-person
  2. Clicks the link: Browser navigates to /demo?token=...
  3. Token validated: System checks token exists, not expired, not revoked
  4. Auto-login: Demo user account logged in automatically
  5. Dashboard access: Prospect can explore the demo subaccount
  6. Session tracked: IP address and timestamp logged
  7. Access until expiry: Can continue using until token expires

Demo User Account

When using a demo link, the prospect is logged in as:

  • Email: demo@levyelectric.com
  • Role: admin (restricted to demo subaccount)
  • Subaccount: Demo subaccount only

This ensures:

  • Complete data isolation
  • No access to real customer data
  • Full feature exploration capability
  • Cannot modify production settings

Data Isolation

Demo users only see:

  • Demo subaccount's vehicles
  • Demo subaccount's customers
  • Demo subaccount's rides
  • Demo subaccount's analytics

Production data from other subaccounts is completely hidden.


Token Validation

On Every Request

The middleware validates demo sessions:

  1. Check for demo token cookie
  2. Verify token exists in database
  3. Check token not revoked
  4. Check token not expired
  5. If invalid: Redirect to expired page

Expired Page

When a demo link expires or is revoked:

  • User redirected to /demo-expired
  • Message explains time-limited access
  • Options:
    • Contact Sales (email link)
    • Return to homepage
    • Sign in (for existing customers)

Tracking and Analytics

What's Tracked

For each demo link:

DataDescription
created_atWhen link was generated
created_byAdmin who created it
expires_atWhen link will expire
used_atWhen first accessed (null if never)
used_by_ipIP address of first accessor
noteAdmin's description
revokedWhether manually revoked

Not Currently Tracked

The following metrics are not tracked at this time:

  • Pages visited during demo
  • Features used
  • Session duration
  • Repeat visits
  • Conversion to customer

These would require additional analytics implementation.


Security Considerations

Token Security

  • 64-character hex tokens: 256 bits of randomness
  • Cryptographically generated: Using secure random functions
  • Single-use tracking: IP logged on first access
  • No predictable patterns: Cannot guess other tokens

Access Control

  • Only super_admin can manage links
  • Demo users have admin role but limited to demo data
  • Production data completely isolated
  • No write access to critical system settings

Revocation

  • Immediate effect upon revocation
  • All active sessions using that token are invalidated
  • Revoked tokens cannot be restored
  • Audit trail preserved (token not deleted)

Best Practices

  1. Use descriptive notes: Include prospect name/company
  2. Match duration to purpose: Don't over-extend access
  3. Create fresh links: Don't reuse old links
  4. Track distribution: Know who received which link
  1. Review regularly: Check for unused links
  2. Revoke when complete: Don't leave active links indefinitely
  3. Monitor usage: Check if links are being accessed
  4. Follow up: Contact prospects who've used links

Security

  1. Don't post publicly: Links should be shared directly
  2. Use appropriate durations: Shorter is safer
  3. Revoke after demo: Clean up completed demos
  4. Monitor for abuse: Watch for unusual access patterns

Internationalization

Demo Links interface supports multiple languages:

  • English
  • Spanish
  • French

All UI text uses translation keys for localization.

Translation Keys

Key translations under demoLinks.*:

  • demoLinks.title - "Demo Access Links"
  • demoLinks.subtitle - "Generate and manage temporary demo access links"
  • demoLinks.generateLink - "Generate Link"
  • demoLinks.expiresIn - "Expires In"
  • demoLinks.noPermission - Permission error message

Integration with Sales Process

1

Qualify Prospect

Determine if a demo is appropriate for this prospect.

2

Generate Link

Create a demo link with a prospect-specific note.

3

Send via Email

Share the link along with brief instructions.

4

Schedule Call

Set up a demo walkthrough with a sales representative.

5

Follow Up

Contact the prospect after the demo period.

6

Revoke Link

Clean up after conversion or decline.

Email Template

Subject: Your Levy Fleets Dashboard Demo Access

Hi [Name],

You've been granted temporary access to the Levy Fleets dashboard.
Use the link below to explore our fleet management platform:

[Demo Link]

This link will expire on [Date]. Feel free to explore all features
and reach out with any questions.

To schedule a walkthrough: [Calendar Link]

Best regards,
[Sales Rep Name]

Troubleshooting

Possible Causes:

  • Link was revoked
  • Link has expired
  • Token was copy/pasted incorrectly
  • Network/browser issues

Solutions:

  • Check link status in management interface
  • Generate a new link if expired
  • Verify complete URL was copied
  • Try different browser

"Access Denied" Error

Cause: User role is not super_admin

Solution: Contact Super Admin to access Demo Links feature

Demo User Can't Access Features

Cause: Some features require specific permissions

Note: Demo users have admin role limited to demo subaccount. Some Super Admin features won't be accessible.

Possible Causes:

  • Link was revoked
  • Server time mismatch
  • Database sync issue

Solutions:

  • Verify link status in database
  • Check server time configuration
  • Regenerate the link

What's Next?

Ready to Demo

Demo links are a powerful tool for converting prospects into customers. Use them strategically, track engagement, and follow up promptly to maximize their effectiveness.