Open calendly widget with button (onclick)

Hi Guys,
i try to open a calendly widget on the click of a button

Calendly support gave me this snippet:

onclick=“Calendly.showPopupWidget(‘YOUR_SCHEDULING_LINK’);return false;”

I have absolutely no clue on what to do with it :frowning:
Can anyone help?

View the solution → Embed Calendly trouble with OnClick Attributes