It's a little bit more involving than that.
First you open the Frunk. If you have a M3, you'll have to remove the upper trim panel, then look at the battery. On the MY, I believe you have to remove 2x10mm bolts that secure the HEPA filter, remove the filter assembly, followed by upper trim panel.