What do i need to know to hook up arduino Leonardo as a USB mouse?

do i need a micro-usb hooked on my PC and then configure it to be a mouse? ultimately i just want to make the leonardo left/right click for a littlle project

You just plug the Arduino into your computer using the USB cable as usual. There's no configuration needed on the PC side because the Leonardo emulates an HID mouse. See File > Examples > USB > Mouse for how to write your sketch.

thank you!