Connecting the PS3 controller via bluetooth on laptop

I know that the PS3 controller is connected to the console through Bluetooth. I was wondering if the same connection can be achieved with a laptop. I heard that the DS4tool can be used to connect the controller to any Bluetooth enabled pc. Also can the same result be achieved using a Bluetooth dongle? Can anyone walk me through this?
