Multiple POS profile for multiple companies

We have two companies “A” & “B” and two pos profile one for A and one for B with separate users
How to set pos for both companies separately