Hosting the bot in an django application

I have created a bot using XO 10 and Also created a website using Django. Now I want to host my bot in one of the page in my website. Means I want to embed the code in one of the page of my django website so that the bot is enabled.

How to do the steps for hosting the bot in the django application? I see steps related to angular and node.js. Is there any similar steps for hosting it on django application? Please help me with this