Log in to your Shopify account and go to the "Online Store" section. In the "Themes" section click on the Customize button.
Add a new section to the Sections list: Custom Liquid.
Add the widget code to this section and Save your changes. The widget will appear on your Shopify page.
Please note that the appearance of your widget may depend on your website's styles. Avoid adding your widgets to existing elements or blocks if possible. Certain features might be blocked on some platforms.