Overview
The Integrations module enables you to connect MSPortal.ai with your existing tools and platforms. Integrate with PSA systems, Microsoft 365, and other services to create a unified management experience.Key Features
PSA Integration
Connect with ConnectWise and Halo PSA
Microsoft 365
Sync with M365 services
API Access
RESTful API for custom integrations
Webhooks
Real-time event notifications
PSA Integrations
ConnectWise Manage
Full bi-directional integration:- Company Sync: Synchronize client companies
- Ticket Integration: Create and update tickets
- Opportunity Management: Track sales opportunities
- Time Entry: Sync time tracking
- Contact Sync: Maintain contact records
Setup Process
1
Navigate to Settings
Go to Settings > Integrations
2
Select ConnectWise
Click “Configure ConnectWise”
3
Enter Credentials
- API URL
- Company ID
- Public/Private keys
4
Configure Mappings
Map fields between systems
5
Test Connection
Verify connectivity
Halo PSA
Complete integration features:- Ticket Management: Full ticket lifecycle
- Asset Synchronization: Device and asset data
- Customer Sync: Client information
- Opportunity Tracking: Sales pipeline
- Billing Integration: Invoice data
Configuration
Similar setup to ConnectWise:- API endpoint configuration
- Authentication setup
- Field mapping
- Sync preferences
- Testing and validation
Microsoft 365 Integration
Available Services
- Azure Active Directory: User and group sync
- Exchange Online: Calendar and email
- Security Center: Secure Score data
- Compliance Center: Compliance metrics
- SharePoint: Document management
Setup Requirements
- Global Admin or equivalent permissions
- Appropriate M365 licenses
- API permissions grant
- Tenant configuration
API Access
REST API
Programmatic access to MSPortal.ai:- Authentication: Bearer token authentication
- Endpoints: RESTful endpoints for all modules
- Rate Limiting: Configurable rate limits
- Versioning: API version management
API Features
- CRUD operations on all resources
- Bulk operations support
- Webhook subscriptions
- Real-time updates
- Comprehensive documentation
Authentication
1
Generate API Key
Create API key in Settings
2
Configure Scopes
Set permission scopes
3
Set Rate Limits
Configure usage limits
4
Test Access
Verify API connectivity
Webhook Configuration
Event Types
Subscribe to events:- Compliance Events: Run completions, issue creation
- Survey Events: Response received, survey completed
- Goal Events: Goal created, status changed
- Ticket Events: Ticket updates, status changes
- Device Events: Warranty expiration, refresh due
Webhook Setup
- Define endpoint URL
- Select event types
- Configure retry policy
- Set security headers
- Test webhook delivery
Integration Settings
Sync Configuration
Control data synchronization:- Sync frequency (real-time, scheduled)
- Field mappings
- Conflict resolution
- Error handling
- Retry policies
Data Mapping
Map fields between systems:- Company fields
- Contact properties
- Ticket statuses
- Priority levels
- Custom fields
Monitoring
Integration Health
Monitor integration status:- Connection status
- Last sync time
- Error counts
- Queue depth
- Performance metrics
Sync Logs
Detailed logging of:- Sync operations
- Data changes
- Errors and warnings
- Performance data
- Audit trail
Troubleshooting
Common Issues
- Authentication Failures: Verify credentials and permissions
- Sync Delays: Check network and rate limits
- Field Mapping Errors: Review field configurations
- Data Conflicts: Check conflict resolution settings
Diagnostic Tools
- Connection tester
- Sync preview
- Log analyzer
- Performance monitor
- Error reports
Security
Data Protection
- Encrypted connections (TLS)
- Secure credential storage
- API key rotation
- IP whitelisting
- Audit logging
Access Control
- Role-based permissions
- Scope limitations
- API rate limiting
- Session management
- Multi-factor authentication
Custom Integrations
Development Options
Build custom integrations:- REST API client libraries
- Webhook receivers
- Custom connectors
- Middleware solutions
- ETL pipelines
Integration Patterns
- Real-time Sync: Immediate data updates
- Batch Processing: Scheduled bulk operations
- Event-Driven: Webhook-based triggers
- Polling: Regular status checks
- Hybrid: Combined approaches
Best Practices
Test Thoroughly
Test Thoroughly
Always test integrations in a non-production environment first
Monitor Regularly
Monitor Regularly
Check integration health daily
Document Mappings
Document Mappings
Maintain documentation of all field mappings
Plan for Failures
Plan for Failures
Implement proper error handling and retry logic
Permissions
Integration permissions:manage_integrations
- Configure integrationsview_integration_logs
- Access sync logsmanage_api_keys
- Create and manage API keysconfigure_webhooks
- Set up webhooks
Related Modules
- Settings - Integration configuration
- Ticketing - PSA ticket sync
- Microsoft 365 - M365 services
- Companies - Company synchronization