We use a combination of a slicker brush, a grooming comb and a furminator-style deshedding tool.
Ours hated the undercoat rake.
We had to bribe her with treats for months but finally she's good about letting us brush her and has been mat free for a while.
We also need to take her to the groomers for a trim 3x a year, typically around shed seasons.