Hello everyone,
I developed an api using Node.js wich receives POST calls and return the embed token for a especific group and element (report or dashboard). It was designed to work in test enviorment but can be adapted to production easily.
If you're get interested give a look:
API to Generate Embed Token in Node JS
Best regards