Motor and Encoder to Odrive wiring

Hey all,

I just entered an existing project as a new member and I am a littlebit overwhelmed.
I got an Odrive 3.6. Now I want to wire a Maxon EC 90 flat motor and the Maxon MILE 512-6400 encoder to the Odrive. Problem is: I have no idea how that works. The datasheets of those parts are not helping. Does anyone know where to find information about that or can explain it to me. Like i actually need to know which pins of the motor I have to connect to which pins of the Odrive, sounds dumb, I know.

Here is a picture of the pins.