very basic question about integration with existing application?

Am creating application as my academic project which would able to help the student to learn coding.

i used to developed it on MEAN stack. now i need to add one more module. like the students can edit and execute their code instantly for their practice (ex: codepen, jsfiddle, jsbin, plunker etc.,)

i’ve came across about this code editor, but am confusing about how to add this api with my app.

example : if user click “try youself” button the code editor need open and they start code as they wish.

could anyone help me to finish this step by step.

helps much appreciated

Thanks in advance