📚 Onboarding email

📧 Company Onboarding Email Template

New Partner Integration


To: [Company Technical Contact Email]
From: integration@flare99.com
Subject: 🎫 Welcome to Flare99 Ticket System - Integration Details


Hi [Contact Name],

Welcome to Flare99! We're excited to have [Company Name] as a partner. Your ticket system integration is now ready.

🎯 Your Integration Details

Company Name: [Company Name]
Tenant Slug: [tenant-slug]
API Endpoint: Redirect API Route Dashboard URL: https://ticket.[company-domain].com
Subdomain: ticket.[tenant-slug].com (if custom domain not configured)


🚀 Quick Start Guide

What You Need

✅ HTTPS-enabled website
✅ User authentication system
✅ Access to modify frontend code (JavaScript)
✅ User email and name from your auth system

Implementation (15-30 minutes)

Step 1: Add this JavaScript to your site footer/header:

<script>
    // Expose logged-in user data
    window.authUser = {
        email: '{{ user.email }}',
        name: '{{ user.name }}'
    };

    // Function to redirect to ticket system
    function contactSupport(e) {
        if (e) e.preventDefault();
        
        if (!window.authUser?.email) {
            alert('Please sign in to submit a support ticket.');
            window.location = '/login'; // Your login URL
            return;
        }

        const form = document.createElement('form');
        form.method = 'POST';
        form.action = 'https://tickets.flare99.com/api/auth/redirect/[tenant-slug]';
        form.target = '_blank';
        
        ['email', 'name'].forEach(field => {
            const input = document.createElement('input');
            input.type = 'hidden';
            input.name = field;
            input.value = window.authUser[field] || '';
            form.appendChild(input);
        });
        
        document.body.appendChild(form);
        form.submit();
        form.remove();
    }
</script>

Step 2: Add a "Submit Ticket" button/link:

<a href="#" onclick="contactSupport(event)">Submit Support Ticket</a>

Step 3: Test the integration:

  1. Sign in to your website
  2. Click "Submit Ticket"
  3. You should be redirected to your ticket dashboard
  4. Create a test ticket

📚 Documentation

We've prepared comprehensive guides for you:

For Developers

📄 Full Integration Guide: See attached EXTERNAL_COMPANY_INTEGRATION_GUIDE.md

  • Complete code examples
  • Multiple integration methods
  • Framework-specific implementations (Laravel, WordPress, React)
  • Troubleshooting guide

📋 Quick Checklist: See attached INTEGRATION_QUICK_CHECKLIST.md

  • Step-by-step checklist
  • Quick code snippets
  • Validation tests

Example Implementations

We've included real-world examples:

  • ✅ Laravel/Blade integration
  • ✅ WordPress plugin
  • ✅ React component
  • ✅ Plain JavaScript

All examples are in the attached documentation.


🎨 Customization Options

Custom Subdomain

Want to use your own domain instead of our subdomain?

  • Contact us at domains@flare99.com
  • We'll guide you through DNS configuration
  • Example: support.yourcompany.com instead of ticket.yourcompany.com

Custom Branding


✅ Validation & Testing

Quick Test

// Open browser console on your site (F12)
// Run these commands:

// 1. Check user data
console.log(window.authUser);
// Should show: {email: "user@example.com", name: "John Doe"}

// 2. Check function exists
console.log(typeof contactSupport);
// Should show: "function"

// 3. Test manually (opens in same tab)
contactSupport(null, false);

What to Expect

✅ Logged-out users → Prompted to sign in
✅ Logged-in users → Redirected to ticket system
✅ Users auto-authenticated (no re-login)
✅ Can create tickets immediately


🛡️ Security

Our integration uses enterprise-grade security:

  • AES-256 encryption for authentication tokens
  • 2-minute token expiry (prevents replay attacks)
  • One-time use tokens (JTI-based replay prevention)
  • HTTPS-only communication
  • Rate limiting (60 requests/hour per IP)

Your users' data is safe with us.


📊 Admin Panel Access

Access your admin dashboard:

  • URL: https://ticket.[your-domain].com/login
  • Initial Admin Account: We'll create this for you
  • Credentials: [Will be sent separately via secure channel]

From the admin panel, you can:

  • View all tickets
  • Manage team members
  • Assign agents
  • Configure settings
  • View analytics

🆘 Support & Help

Technical Integration Help

General Support

Emergency Support

Documentation & Resources


📅 Next Steps

  1. Review attached documentation (15 minutes)
  2. Implement integration code (15-30 minutes)
  3. Test with your team (10 minutes)
  4. Schedule training call (optional) - Reply to book a time
  5. Go live! 🚀

💡 Pro Tips

Best Practices

✅ Test with a few users first before rolling out company-wide
✅ Add the button to your main navigation for easy access
✅ Consider adding to your user profile/settings page
✅ Train your support team on the new system

Common Mistakes to Avoid

❌ Forgetting to check if user is logged in
❌ Not using HTTPS (required for security)
❌ Hardcoding user data instead of using auth system
❌ Not testing logout/login flow


🎁 Bonus Features

As a valued partner, you get access to:

Included Features

✅ Unlimited tickets
✅ Unlimited team members
✅ Email notifications
✅ File attachments
✅ Priority levels
✅ Status tracking
✅ Analytics dashboard

Premium Add-ons (Available)

⭐ Custom domain (yourcompany.com/support)
⭐ White-label branding
⭐ SLA management
⭐ Advanced reporting
⭐ API access for custom integrations

Contact sales@flare99.com for premium features.


📞 Questions?

Don't hesitate to reach out! We're here to help make your integration smooth and successful.

Primary Contact: [Your Account Manager Name]
Email: [accountmanager@flare99.com]
Phone: [+1-XXX-XXX-XXXX]

Looking forward to working with you!

Best regards,
The Flare99 Team


P.S. Need help getting started? Reply to this email to schedule a 30-minute onboarding call with our integration specialist.


📎 Attachments

  1. EXTERNAL_COMPANY_INTEGRATION_GUIDE.md - Complete technical guide
  2. INTEGRATION_QUICK_CHECKLIST.md - Quick reference checklist
  3. integration-examples.zip - Code examples for various platforms

Flare99 Ticket System
Making support seamless, one integration at a time.
🌐 https://tickets.flare99.com
📧 support@flare99.com
📞 +1-XXX-XXX-XXXX