How to add Confluence compatibility to jira plugin

Hi.
I am looking for tutorials how to add confluence compatibility to a jira plugin.
Is there any guide or example repository how best to proceed?
Regards
Max

Is this question beyond leveraging Confluence’s REST API?