In Canvas you can configure an LTI™ tool to turn in homework through an LTI launch. See Canvas documentation for more details more information.