How to connect WHMCS to your reseller WHM account Print

  • whmcs, automation, api token, reseller, whm, server
  • 0

Connecting WHMCS to your reseller account lets WHMCS create, suspend and terminate your clients' cPanel accounts automatically when they order, don't pay, or cancel.

Step 1: Create an API token in WHM

  1. Log in to WHM.
  2. Go to Development → Manage API Tokens and click Generate Token.
  3. Name it something like whmcs, leave it with full access to your reseller features, and click Save.
  4. Copy the token now. WHM only shows it once.

Step 2: Add the server in WHMCS

  1. In WHMCS admin, go to Configuration → System Settings → Servers and click Add New Server.
  2. Set Module to cPanel.
  3. For Hostname or IP Address, enter the server hostname from your welcome email.
  4. For Username, enter your reseller username. Paste the token into API Token.
  5. Click Test Connection. When it succeeds, click Continue.
  6. Give the server a name, enter your nameservers (ours or your own private ones), set Maximum No. of Accounts to your plan's limit, and save.

Step 3: Put it in a server group

On the Servers page, click Create New Group, add your server to it, and save. Your products will use this group.

Next: How to create hosting products in WHMCS from your WHM packages.


Was this answer helpful?

« Back