As a Confluence space administrator, open the 'Integrations' page for your space.

On the integrations page a new tab would appear 'Embedder for Confluence'.

First time around, the code snippet (right hand side section) will not be available. It has to be generated by adding required information & then clicking on 'Save'. Customise different properties of the widget from these settings.