Metricbeat ships with a script that will create them for you. You can find the script at /path/to/metricbeat/scripts/import_dashboards and then running ./import-dashboards --es http://my-elasticsearch-node
.
There are more options the script supports such as auth, you can get that info by running import-dashboards --help