How to get crossbow

Is it in the shop at the end of a quest do I find it I’ve wanted one since I saw gameplay thanks.