UART connection

Hi,
Few questions before i order:

  1. how to connect to uart to pogo pins , what is the configuration required in ubuntu?
  2. what is the size of power connector/jst pins if i want to directly power the board instead of usb c