The connection method is determined by whether the 3CX is self-hosted within your internal network, or hosted by 3CX themselves.

Configuration details for both methods are shown below: