http://wiki.centos-webpanel.com/whmcs-module-for-cwp-api1. Extract file cwp7.zip in your whmcs folder
WHMCS/modules/servers/
as extracted module file path will look like this
WHMCS/modules/servers/cwp7/cwp7.php2. In WHMCS
In Menu goto: Setup -> Products/Services -> Servers
Add New Server and under “Server Details”
Type = Cwp7
Username: root
Password: (your server password)
Access Hash: copy your key from CWP API
3. Generate API Key on the CWP server
goto Left-Menu -> CWP Settings -> API Manager
Use the following permissions:
-add, edit, suspend, unsuspend and delete accounts
-edit packages
-change Password