Access to jira cloud database

Hi everyone, I’m developing an application for jira cloud. in the past I developed several applications for jira server and there was the possibility to create, through activeobjects, tables on the same jira database. How does it work in the cloud? is there the possibility to access the jira db or do I have to create an external service?
thanks to everyone in advance
Giovanni