Can you download trails from alltrails.com directly onto a Garmin?

Can you download trails from alltrails.com directly onto a Garmin device.  I'm having trouble.  But downloading it as a GPx should work,right?