How do I integrate a codepen?

All sorted.

My theme actually had a section for custom javascript in the theme options.

I added the code there and used the enqueue for the bootstrap – all working fine now.