The BonaRes Portal, based on the Apostrophe Content Management System, uses the BonaRes Nextcloud System for Single Sign On. But apart from this, there are a few other ways how these two systems can be interconnected.
For now, Nextcloud integration is intended only for signed in users of the BonaRes Portal.
First there is a CMS page type that can display any Page or folder from Nextcloud that the signed-in user is permitted to access. The page type can be found in Page Settings, and it is called "Teamarea (nextcloud)".
By default, this page type loads the Nextcloud dashboard into the content area of this page (an Example is here: https://stage.bonares.de/teamarea). The path that is loaded can be configured under "Page Settings"->"Cloud"->"Link Path". You can copy any link from Nextcloud. Please remove the domain at the beginning. For example, for the URL "https://nextcloud.bonares.de/apps/photos" you would just enter "/apps/photos" (or "apps/photos", you can leave out the leading slash).
One example how the configured path can be useful is to provide a central location for collecting images by linking to a nextcloud folder with multiple different subfolders to allow an initial categorisation of uploaded images. An demonstration of something like this is currently available at https://stage.bonares.de/teamarea/photos.
At the bottom left corner there is a link for opening the initially loaded view in a new browser tab directly in nextcloud.
Nextcloud widgets are available on CMS pages of the page type "Intranet", which can be set via "Page Menu"->"Page Settings"->"BonaRes". As the name suggests, pages of this type are intended for use in the internal Portal area, which is accessible for signed-in users.
Same as for pages, there is a setting "Link Path", which can be accessed by clicking on "Edit Nextcloud View" on a toolbar which becomes visible when the mouse pointer is moved over the widget area. Again, you can copy any link from Nextcloud, removing the domain at the beginning. For example, for the URL "https://nextcloud.bonares.de/apps/photos" you would just enter "/apps/photos".
Another setting is height, which can be chosen from three different T-Shirt sizes. This setting is also available in the page as part of the widget toolbar that shows up when movind the mouse pointer over the widget.
Nextcloud widgets use the full available content width, but they can also be placed inside a multi-column widget, so that they only use, say, 50% of the available content width. The nextcloud layout is using responsive layout to optimize the different widths.