Assign Animator component to an AnimationTrack in script

Hello !

I want to assign an animator to the first animation track on my timeline.
I know I need to use PlayableDirector.SetGenereciBinding(_MyFirstAnimationTrack, _MyAnimator)
But i don’t know how to get properly set this animation track, I can’t use public to set it in inspector.

Is there a way to say that my AnimationTrack is the first entity of my PlayableBinding ?

i found

5805634--613987--Capture.PNG

The order of the outputs is the order of the tracks in the editor, and creating new tracks via script on a timeline asset are placed at the end of the list.