Here's Transport Canada's procedure.
TC AIM - FAL - FACILITATION - Transport Canada
Basically phone the number and do what the customs guy tells you to do.
Remember that
exact compliance with eAPIS leaving and entering the US is the more complicated part. Once you have a clearance from eAPIS you must then phone customs where you will be landing.