On your Studio dashboard, open your project in the Design Editor. Go to the page where you want the widget.
Click the Add icon. On the Basic tab, under Embed, drag Blank onto the page.
Select the Embed box. In the right panel, open the Embed tab. Under Embed code, click Open editor.
Paste your code and click Save.
Drag the corners of the box until the whole widget fits.
Publish your site. If the site is already live, update it from the publish panel.
Studio runs embedded code inside the Embed box. If your widget uses Lightbox as Photo Link, the lightbox can only open inside the box. On a Pro widget, set Photo Link to Photo Popup on the Advanced tab. The photo then opens in its own window.