Every module talks to the tPanel API on the root panel port (2444) with an API token. Create the token in the root panel under API tokens with these permissions: accounts read, accounts write, packages read, single sign-on, usage read. Limit it to your billing server's IP address.
Billing system on shared hosting? Many shared hosts block outgoing connections to port 2444, and the module then reports "Could not reach SERVER:2444". In the root panel open API tokens and turn on Also answer on port 443: the API then also answers at https://HOSTNAME/api/v1. The modules switch to port 443 by themselves when 2444 cannot be reached (this needs the server's hostname, not its IP address), or you can set the server port to 443 in the billing system.
All modules create, suspend, unsuspend and terminate accounts, change passwords and packages, and sign clients in to their control panel with a one-time link.
WHMCS
Upload whmcs/modules/servers/tivropanel to modules/servers/ in WHMCS. Add a server: type TivroPanel, hostname, port 2444, Secure on, API token in Access Hash. In the product, Module Settings, choose the tPanel package.
The client area shows usage and limits, the login details with the password, server and email settings, one-click sign-in to every tool the package includes, webmail, and a form to create email accounts and change mailbox passwords. For tPanel products the module replaces a cPanel-style welcome email with its own TivroPanel Welcome Email template (created on first use under Setup, Email Templates, Product Messages), which has the right panel and webmail addresses. Fill in the server's nameservers in WHMCS so the email lists them.
Blesta
Upload blesta/components/modules/tivropanel to components/modules/ in Blesta and install TivroPanel under Settings, Company, Modules. Add a server with hostname, port 2444 and the API token, then create a package with the TivroPanel module and choose the tPanel package. The client area gets a Control panel tab with sign-in buttons.
FOSSBilling
Copy fossbilling/library/Server/Manager/Tivropanel.php and TivroPanelClient.php to library/Server/Manager/ in FOSSBilling. Add a server (System, Hosting plans and servers): server manager TivroPanel, hostname, port 2444, https on, API token in the access hash field. Name each hosting plan after a tPanel package (its name or its short name). Service passwords must have at least 12 characters with 6 different ones.
HostBill
Upload hostbill/includes/modules/Hosting/tivropanel to includes/modules/Hosting/ in HostBill and activate it under Settings, Modules, Hosting Modules. Add an app connection with hostname, port 2444, Secure on and the API token in the Hash field. In the product, choose the tPanel package.
Paymenter
Copy paymenter/extensions/Servers/TivroPanel to extensions/Servers/ in Paymenter 1.x and enable it under Extensions. Add a server with hostname, port 2444 and the API token; in the product choose the tPanel package. The checkout asks for the domain; the client sees Open control panel, File Manager and Email accounts buttons.
Status
Before you take orders, create a test product and place a test order on a staging copy of your billing system to check the package, welcome email and sign-in buttons.
WHMCS
Module: whmcs/modules/servers/tivropanel (also dist/tivropanel-whmcs-<version>.zip). Copy modules/ into the WHMCS root.
- Root panel → API Tokens: create a token with all five permissions, allowed from the WHMCS server's IP.
If the root panel is limited with
--root-allow(/etc/tivro/root-allow.conf), add the WHMCS server there too and reload nginx. - WHMCS → Servers → Add: module TivroPanel, hostname, port 2444, Secure on, token in Access Hash. Test Connection.
- Product → Module Settings: choose the package (loaded from the server), optional PHP version, whether TivroPanel also sends its welcome email.
Supports create, suspend, unsuspend, terminate, change package, change password, client and admin "Log in to Control Panel" (SSO, with app=files|email|databases|domains|backups|wordpress|ssl), service tab with status and usage, and the daily usage sync. Usernames that do not fit TivroPanel's rules are generated by the panel; passwords shorter than 12 characters are replaced with a strong one; both are saved back to the service. TLS verification is skipped only when the server is addressed by IP.