You align them as per the pictures.
On the bike itself shine a torch up the end of the shaft tunnel to view the uj joint position, then set the lower uj .
The splines will put it very slightly out of phase, but nothing to worry about.
4th paragraph down in the link confirms that the pics show the two parts correctly phased.