for UCCX integration with CUCM you need to obtain the relevant licence
license for number of ports
license for the UCCX/IVR server
if have it in HA two server you need HA license
you need to make sure what type of recording supervisor recording or call recording for every call if the later one then you need QM server and license for QM into UCCX
for the integration you can refer to the cisco guide of installing and integrating UCCX which is more than enough
HTH
if helpful Rate