get CX and key from configuration