There is a common misconception that Kant prohibits using other people as means. This isn't true. Kant, in general, only prohibits using people as merely means to an end.
If Kant meant that you could not treat other people as means at all, then his maxim would fail his universalizability test. Namely, one wouldn't be able to imagine constructing a functioning society that could exist if you could not use another person to achieve some goal X. For instance, you wouldn't be able to have shops with cashiers, successful industrial factories, and so forth.