Prerequisites for the UGC website extension

You can only add the UGC website extension to a website that already has the API (RESTful) role or the deprecated API (in-process) role installed.