Thank you for your reply!
I didn't notice the datasheet under that tab. Now I found it. Thanks.
I get the PWM pulse signal from arduino. So I input that to PWM and i need other two digital signals to choose the direction. Then I also need +5v to en/diag -pins and a supply +5V. Right. Then I connect my motors and kick in the (for example) +12V main supply voltage. Then I got my pololu and motors up and running. Did I get this correct?
When I said "plenty of those 5v pins" I ment those vin -pins. I didn't quite understand what is the purpose of those. Is it enough if I input a logic supply 5v to + 5V (in) -pin and leave the rest vin-pins unconnected?
Is it safe to connect arduino directly to pololu or is some safe circuits or components needed?
Sorry about my rudimentary questions. I will learn and wont be asking so stupid questions in the future.