On this form, we configure the conection with the host where we are getting the information from.
The option we have here are:
- Host, if the Sonata Stats is installed on the same server where VitalPBX is installed, we recommend using ‘localhost.’
- Port, depending whether or not we are using HTTPS or not, we would choose the port we are going to use, usually 80 (HTTP) or 443 (HTTPS).
- Secure, indicates whether you are using a secure connection (HTTPS) or not, usually when using this option, you are using port 443.
- App Key, if Sonata Stats is on the same server as VitalPBX, it is not necessary to configure the APP key, since it is automatically generated. If Sonata Stats is installed on a server different to where VitalPBX is installed on, you would need to create the APP Key. You can do this from VitalPBX under Admin > Admin > Application Keys, create a new one, copy it and paste it on Sonata Stats.