You'll first need to copy the one line of code required, from Customer Experience>>Customer Site>>View Embed Instructions.
Now see https://support.wix.com/en/article/adding-html-code, which includes a step-by-step guide on how to install the widget.
The breakpoint at which the widget will switch to the mobile version is 940px.