The example app stack
Running the example app
1
Clone and install
2
Configure
https://api.cloud.flexprice.io/v1 if your tenant is in the India region.3
Start
http://localhost:5173.What to look at in the example app
- Client setup. Where the SDK is constructed once and shared through the app.
- Sending events. The handlers that call
events.ingestEventwhen a user takes a billable action, including the properties they attach. - Reading usage. The queries that fetch usage analytics and customer data and feed them to charts.

