Integrating flowable rest-api module in flowable-ui modules

Can I Integrate flowable rest-api module in flowable-ui modules ?