Hi,
You need to follow Cisco JTAPI documentation (https://developer.cisco.com/site/jtapi/documents/developer-guides/).
Here are the mandatory steps-
-You need to create application user in CUCM using CUCM Administration Console.
-Add "Standard CTI Control" group in that user
-Associate Device with newly created user
In coding side you need to follow the JTAPI guide for creating provider and initiating makecall request from the application controlled device.
Regards,
Umesh