The initial setup of the Kronos application will be guided through the setup 'init', this page will provide additional details only for the steps that require additional detail
For Kronos to interact with your nodes(plex servers, Emby servers, etc) and your WHMCS installation, SSH keys are required for maximizing security, in .ppk formats. Download PuTTYgen HERE, and generate a key pair for the application
Public key for pasting into openSSH authorized_keys file
~/.ssh
edit authorized_keys
and paste the contents of your copy in step 3If the "authorized_keys" file is missing, simply create it
In this step, upload the private key and give it a name - If you set it as default, any added node will make use of this key automatically.
If the user you are adding to Kronos must run commands as sudo, its important that you enabled password-less sudo access.
Make sure to replace "YOUR_USERNAME" with the actual username you are using for Kronos to connect to your nodes!
When integrating with WHMCS, customer provisioning, suspensions, and un-suspensions can be automated. The fields in this setup that require additional descriptions are described below.
To grab these 2 items, you must generate an API key within WHMCS. This is done via the following panels in WHMCS
Setup -> Staff Management -> Manage Api Credentials
For Kronos to work with all WHMCS integration, click "API Roles" and create a new role, the role must have full access to the following items
Once the role is created, go back to "API Credentials" and generate new credentials, with access to the role you just created.
For Kronos to make API calls to your WHMCS installation, you must IP whitelist the IP of your Kronos installation, the IP of your installation can be found on your Kronos dashboard under "WHMCS integration"
Add this IP in WHMCS under;
Setup / General / Security / API IP Access Restriction
If you are using a custom domain to access kronos(a cname record) via cloudflare, make sure to whitelist cloudflare IPs in your whmcs settings for api access -> https://www.cloudflare.com/ips/
In order for Kronos to fetch products, Kronos must be able to access the WHMCS database.
Upon success access to your WHMCS installation, we can now fetch products. In WHMCS, begin creating the products you want to sell, by going to(in WHMCS)
Setup / Products/ Services
First, create a product group, then create one or more products and assign them to this group. Set their price, a description, etc.
When creating the product, make sure to set the
'module settings'
to use'module name'
='auto release'
otherwise auto deployments will not work!
Once you have created your products, refresh the Kronos init page and go back to step 5 (skip all the steps you already completed)
In "product" you will see all your products displayed, pick your products and fill the rest of the form for each of them, and submit them. When done, continue the setup.
With emails you have 2 choices;
If you pick the 2nd option, create an account at Sparkpost and provide your API credentials here. Emails will then be sent from your own sending domain.
Your setup is now complete