Link BitBucket and Jira Cloud with REST API

Hello everyone,
As on server there is a service that connects the Bitbucket server with Jira Server:

ApplicationLink bbLink = appLinkService.getPrimaryApplicationLink(BitbucketApplicationType.class)

How can we achieve this on cloud. Is there a REST API call, that will enable a connection between these two apps.
Thank you