Tado presence detection

Trying to setup my first automation. I want to use Tado presence detection to arm and disarm my Blink cameras. Need it to be that last person to leave arms 5he cameras and the first person to arrive home disarms them. I must admit - I’m getting a bit lost!