3D model in Webflow: Linking javascript commands to Webflow buttons

Hey there,

I want to embed a 3D configurator (from vectary.com) to my Webflow page. This configurator should have options to hide and show certain 3D elements. Whilst I have all the code and it works in codepen, I don’t know how to link the Webflow buttons to the javascript commands in Webflow.

Maybe you could help me out with that. Here is the link to my current website: https://integralmap.one

Kind regards

Dominik