...
Open “PlantUML Diagrams for Confluence“ setup page. Select “GitLab” tab.
Populate fields and click on “Save Settings“. This will persist connection details. make Make sure you entered them correctly. Note that only gitlab.com is supported for now.
Click on “Connect With GitLab“ button. This will initiate connection procedure. At this point you need to grant permission to OAuth App to communicate with “PlantUML Diagrams for Confluence”. After you allow communication, both apps are connected and Confluence users will be able to use repositories visible to OAuth app.
...