How to add Ik to the hip bones

I’m so confused about Ik on the hips.
'what I am trying to achieve is have the hips bone (or anyone) move down having the character been thighs knees whilst squatting.
does anybody know how to do this? I’m very stumped on how to do this.