This tutorial pretty extensively explains incorporating thirdparty code into a project.
Note it’s from youtube from outside of the forum.