Contact sales@posahosting.com
Guides / Reseller Hosting Help / Connect a cPanel reseller account to WHMCS

Hook WHMCS to a cPanel reseller server

Once connected, WHMCS can create, suspend, and terminate cPanel accounts on your reseller WHM without manual WHM clicks.

License required

WHMCS must already be installed. PosaHosting sells discounted licenses—order one here or follow Softaculous installation.

What you need

  • Active cPanel reseller login
  • WHMCS admin access on the same or another hosting account

1. Create a WHM API token

  1. Sign in to WHM on your reseller account.

  2. Open DevelopmentManage API Tokens (wording may vary by WHM version).

  3. Generate a token named e.g. WHMCS with permissions to list, create, and suspend accounts.

  4. Copy the token immediately—it is shown only once.

2. Add the server in WHMCS

  1. WHMCS admin → System SettingsServersAdd New Server.

  2. Fill in:

    • Name — label for your reference
    • Hostname — reseller hostname or IP
    • Type — cPanel
    • Username / Password — reseller WHM credentials
    • Access Hash — paste the API token
  3. Run Test Connection, then save.

3. Group the server

  1. Still under Servers, create a group (e.g. cPanel cluster).

  2. Set fill mode to Add to the least full server and attach the server you just added.

4. Create a sellable product

  1. System SettingsProducts/Services → create a product group, then Create a New Product.

  2. Type: Hosting Account. Module: pick the server from step 2. Set pricing and cycle.

  3. Save the product.

5. Optional configurable options

Under Configurable Options, define extras (disk, bandwidth) and link them to the product if you sell à la carte resources.

6. Place a test order

Run a $0 or internal test checkout. WHMCS should provision a fresh cPanel user on the reseller node. If it fails, recheck the API token scopes and hostname.