Ordinal Logistic in STATA

Hi i am trying to run a ordinal logistic, and one of my independent variable is endogenous categorical variable/ actually i can also set it up as an ordinal. Thirdly i am expecting clustering effects in the data...
I am really confused as to how i should go about it......:confused: