Grandstream supplying SIP to Unifi Talk

Is it possible to use a Grandstream UCM (UCM6304) to provide SIP to Unifi talk out to a POTS line? If so, how do I set it up?