BLDC Motor Commutation Alignment

Hello. Im playing around with designing a BLDC controller. The motor im using is a outrunner BLDC with 12 poles.

Ive been thinking about using a TLE5012B angle sensor on the rotor shaft to help with Commutation. The sensor would read a magnet in the Axial direction and provide angle information.

The question i have is how would i align the degrees feedback of rotor position. In other words, how do i do the alignment?

in other words, how would i align the 360 degree rotor position feedback to the rotor poles so i can create the 6 quadrants for 6 step commutation?