How to index data from mysql database into Cluster alaticsearch?

Hi ,All!
I have proble with elasticsearch,i do not know how to index data from mysql into Clusters for search.I see php Client as Elastica ,Elastica can support that? api else support too ?, so you can suggest me way top do that?
thanks!