How to set user elasticseach?

See: link or doc