Hello, This is quite direct ask and most here would not like to pay attention to this kind of how to setup from scratch questions. Please do some reading on the topic, try to build and if it fails ask here for troubleshooting help.
regarding NICE integration, please reach out to NICE and evaluate what type of recording solution's they have?
Recording solutions integrate to CUCM over JTAPIor SIP TRUNK and fork the media from agents phone to capture the recording and they can also do network based recording (for something like mobile agent) or CUBE based media forking.
I would say reach out to NICE, they will have all of this nicely documented with step by step instructions on how to implement it.