Moving the needle
Look for a control that moves only the needle, while the stitch stays straight. It may be a dial, a lever, or a picture on a screen. On some machines the stitch-width control, set at zero, is also how the needle is moved to one side. This varies by machine. The manual for the model in front of you is the authority. The manual names it. If the machine has no such control, you shift the zip foot, or you use the side of an adjustable zip foot. You do not invent a setting. With the needle to one side, sew slowly for the first centimetre and watch the plate. A straight-stitch plate and a straight-stitch foot have a small hole. If that hole is in the centre, a needle set to the left or the right strikes metal. If the manual shows the hole to one side, use that place. Put the needle in the hole's place before you fit that plate. A zigzag still needs the wide slot. The zipper-foot page is the foot. This page is where the needle sits.
Change the needle position with the needle up, so it is not in the cloth.
After a zip, put the needle back to the centre before the next ordinary seam.