Import the wordcloud.xml file in Caché Studio
Call the CSP page with parameters domain=(your domain name)&source=(source id)
e.g. http://localhost:57772/csp/user/WordCloud.csp?domain=pubmed&source=240
I am using jquery.awesomeCloud to render the wordcloud, the library (and jQuery) is included in the import file.