I have done a lot of these using Canadian Code.
In older versions of ACI, Appendix D in ACI 318 used to cover all the limit states (mentioned by Baz above as well). I don't know what is in the latest version but you calculate your loads including moments if any, and then calculate the minimum embedment capacity for different limit states against applied loading using ACI Appendix D.
If you are using Hilit, they have a free software called Profis Anchor that can do all the calculations for you. Just download and provide your rebar configurations, concrete edge distances and loads and it will calculate the embedment using Hilti Products.
Thanks.