WOPISrc libreOffice example

I am attempting to embed the loolwsd iframe in a web application, I have got the file_src example working and now would like to connect it to a nextcloud instance with a WOPISrc.

Is there a source of examples for this?

I have a nextcloud instance running on https://xx.yy.org which is fully functional.

Regards