Showing custom form in customer portal in JSD for cloud

There are some addons available for Jira service portal which extends the customer view and shows their own custom fields in customer view e.g. Proforma shows its own fields in customer view.

As a development point of view how can we achieve such a functionality?