Prerequisites
Before you begin, you’ll need:- A Flux account
- Your API key from the dashboard
- Node.js 18+ (or Python 3.8+, Go 1.19+)
1. Install the SDK
2. Initialize the Client
Create a new Flux client with your API key:3. Send an Event
Events in Flux have atype and a data payload. The type is a string that identifies the kind of event (we recommend using dot notation like user.signup).
4. Verify It Worked
Head to the Events tab in your dashboard. You should see your event logged with its full payload and metadata.
Next Steps
Now that you’ve sent your first event, explore these guides:Set Up Webhooks
Receive events in real-time via HTTP
Event Filtering
Subscribe to specific event types
Authentication
Secure your integration
API Reference
Full API documentation