In the App.jsx
file add the apiKey given by FinBox team. And you are ready to use the sample app.
Run npm install && npm run dev
to run the app. Open http://localhost:5173 to view it in the browser.
In App.jsx
you can find callbacks given by the SDK.
exit
event, when user exits the SDK.success
event, when user completes the SDK flow and statement is uploaded this callback will be triggered.