1. Home
  2. Sell and automate VPS from WHMCS
Integrations

Sell and automate VPS from WHMCS

The PikoStack provisioning module connects WHMCS to your PikoStack cloud. Orders become running VPS in seconds, and every lifecycle event is handled automatically.

What the module does#

WHMCS event What happens in PikoStack
Create A VPS is created from the product's plan and the chosen OS template, with hostname, root password and SSH keys
Suspend and unsuspend The VPS is suspended and resumed
Terminate The VPS and its resources are deleted
Change package The VPS is resized to the new plan
Reinstall (custom button) The VPS is rebuilt with a new template
Start, stop, reboot Power actions in the admin area and the client area (hard reboot for admins)
Test connection Verifies the API endpoint and token

The VPS IP address is saved to the WHMCS service automatically, and customers see their server's status in the client area.

Set up in five minutes#

  1. Copy the pikostack module folder into modules/servers/ on your WHMCS server.
  2. Create an API token on PikoStack: pikod token -name whmcs -role admin.
  3. In WHMCS, add a server of type PikoStack with your panel address and the token as the access hash.
  4. Create a product, choose the PikoStack module and set the plan (for example piko.small) and default template.
  5. Optionally add a configurable option named "Operating System" so customers choose their OS at checkout.

Secure by design#

The token is sent only over HTTPS and can be limited to your WHMCS server's IP with the host firewall. Root passwords are hashed by PikoStack before they reach the virtualization engine, and SSH keys from the order are injected at first boot.

Try PikoStack on your own hardware

Install the Free edition with one command, or talk to us about migrating an existing platform.