how can we connect local kibana to elastic cloud elasticsearch, like how we can get token.
I tried this.
GET /_security/enroll/kibana
{
  "error": {
    "root_cause": [
      {
        "type": "security_exception",
        "reason": "Enrollment mode is not enabled. Set [xpack.security.enrollment.enabled] to true, in order to use this API."
      }
    ],
    "type": "security_exception",
    "reason": "Enrollment mode is not enabled. Set [xpack.security.enrollment.enabled] to true, in order to use this API."
  },
  "status": 403
}