Installation
The EngageFabric SDK is currently available for enterprise customers and early access partners.
Contact us at support@engagefabric.cloud to get access.
Quick Start
Configuration
API Reference
Players
Events
Quests
Adventures
Leaderboards
Lobbies
Chat
WebSocket Client
Connect for real-time updates:State Management
The SDK includes Zustand stores for state management:TypeScript Support
The SDK is fully typed:Error Handling
Best Practices
Keep API key secure
Keep API key secure
Never expose your API key in client-side code. Use a backend proxy for browser apps.
Use idempotency keys
Use idempotency keys
For important operations like purchases, always use idempotency keys to prevent duplicates.
Handle errors gracefully
Handle errors gracefully
Implement proper error handling and retry logic for transient failures.
Cache player data
Cache player data
Use the built-in Zustand stores to cache player data and reduce API calls.