No ZAP devices - need help connecting to external gateway

Can someone point me in the direction on how to connect asterisk to an external gateway (Cisco 3662 with PRIs)?

Many thanks