AWS Elasticsearch and metricbeat

Hi all.
I have AWS ES which I think it has Opendistro Elasticsearch. I have setup Elastic and Kibana but now when I try to use filebeat or metricbeat and I want to upload the preconfigured dashboards doing
filebeat setup or metric setup
I got an error saying the request is redirected to the login page.

Any idea why or another way to do this? Maybe with opendistro is not possible to do so?
Cheers