You can purchase ferry tickets at the ferry terminal or you can buy them online at this link: https://www.ultramarferry.com.