Connecting MySQL flex DB in Azure to CheckMK

Hello everyone
I’m trying to connect Azure MySQL Flex database on to Checkmk, but I’m facing some difficulties. I’ve scoured the documentation, lukred thro this forum and whatched all the related tutotials on checkmk webside. But I can’t seem to find any solution to mine problem. I correctly configured the azure special agent, auto discovery. But after all of it I still can’t find a solution to my problem.
How can i connect to the database using api?
Can someone help me out or point me in the right direction?