Carpet Shampoo

i have a rug doctor machine but no carpet shampoo?
I heard vinegar works good? How much vinegar and how much water? Any ideas? I need to shampoo my carpet. I want the dirty to go away
It’s better just to play it safe and just buy the shampoo.