SPanel has a WHMCS module which allows you to automate the management of the accounts on your SPanel server via WHMCS. You can download it at https://marketplace.whmcs.com/group/SPanel and you can learn how to configure it at https://www.scalahosting.com/kb/how-to-configure-the-whmcs-spanel-provisioning-module/