This Flex Plugin shows how you can segregate the view of Flex Insights per BPO.
Assuming you already have twilio
cli, then:
npm install
npm start
That is it, a new browser tab on http://localhost:3000
should open with this Plugin running.
This line is all you have to update to have this Plugin working.
Like any other Flex Plugin! In short:
twilio flex:plugins:build
twilio flex:plugins:deploy --changelog "first deploy"