https://www.sageadvice.eu/does-the-rule-on-casting-a-bonus-action-spell-apply-when-you-take-a-bonus-action-granted-by-a-spell/
Does the rule on casting a bonus action spell apply when you take a bonus action granted by a spell?