You can buy an off the shelf cable for this.
https://www.digikey.ca/en/products/detail/ftdi-future-techno...