Use the mouse to move and connect your track pieces. By default, only track from the same track system can be connected. However, you can override this (see The AnyRail Options window).
To connect track

Page url: http://www.anyrail.com/help_en/index.html?movingandconnectingtrack.htm