Set a certain dashboard variant as favorite for a group. Check out how to get the ID of a dashboard variant here . Before setting a dashboard as favorite, make sure it is shared with the group as shown here .
npm install @luzmo/nodejs-sdk