Javascript code on canvas site

aryan_ajdari
Community Novice

I want to install Intercom's chat feature onto my canvas site. The following link explains that I need to insert a small snippet of Javascript code: Install Intercom on your website (for logged-out visitors) | Help Center 

Is this possible to do within canvas? I know I can upload javascript code in the Theme Editor but I'm not sure if it'll work. Any advice or help would be appreciated - thanks!