You could solder it but simplest is with a coupler
https://www.amazon.com/4-pin-Solderless-Coupler-Connector-10-Pack/dp/B00IVUH36U/ref=asc_df_B00IVUH36U/
https://www.amazon.com/dp/B07YFRT861/ref=sspa\_dk\_detail\_4