How to add licensing feature in Spring Boot Cloud Plugin

I am trying to add Licensing feature in Cloud Plugin developed using Spring Boot Should I only need to add enablelicensing:true in Atlassian-connect.json or something else I need to do. How to enable and disable app based on this licensing .and how to implement this.
Any Suggestions!!

@ChakreshTiwari please read the documentation on Cloud app licensing.