Did you already read the mentioned (and recommended) ANs? (82156, 81623).
Apart from that - did you try it? it might be as easy as just setting proper ports for all external connections (LEDs and buttons). The AN mentions that explicitely in figure 7.
There is not much to do, just download the .zip, unpack and open the project, let it update and compile. That's it.