How do I use ps4 controller on PC?

How do I use ps4 controller on PC?
How to connect your PS4 controller via Bluetooth

Hold controller’s Share and PS button until it flashes.
Push dongle button until it starts flashing.
Or, add your controller in your PC’s Bluetooth menu.
Pairing should happen automatically.
Don’t unplug the adapter, it’ll save the last connection.

How to connect your PS4 controller via Bluetooth
  1. Hold controller’s Share and PS button until it flashes.
  2. Push dongle button until it starts flashing.
  3. Or, add your controller in your PC’s Bluetooth menu.
  4. Pairing should happen automatically.
  5. Don’t unplug the adapter, it’ll save the last connection.