Prepping A4 to record midi sent from daw

I wrote a song using my Daw. Now instead of Manually entering it on the A4 I want to send my midi files to the A4 to record automatically….I know how to do this using Live recording etc…
What I need to know is how to prep the A4 to record when I begin playing my Daw.
Typically while holding record you hit the play button to ready the incoming midi, so that the red record button starts flashing without playing
This way when I hit play on my daw it starts sending midi to all four tracks and It starts the recording on the A4 automatically.