Getting analytics connection for getting metadata