Mouser will be your best friend. This forum will be your best friend. It has parts, the bootup sequence and flow, and breaks down microchip and battery chip and where to source them.
When you get into the weeds, make sure you have a inline fuse because i have fried to esc due to shorts. I had one where it was a xt60 with a fuse between it just incase. The bms really does not have a known failure on paticular parts ( im on a og pint, they are tanks) and i just opted to buy a broken bms from a local seller as a donor for parts. On pint or xrbms its really easy to knock a cermaic cpacitor (the little things around the big bms chip in the middle). Ive onlt worked on pints a xr so cant say anything on the gt and up. Rest is really trial and error.