Click Create new resource link found on the upper left-hand corner of the Azure portal, then select AI + Machine Learning > Web App bot.
Once you select “Web App bot” , you have to configure it with below fields –
Once you click on Create , your bot will be created .In the Bot Management section, click Test in Web Chat. Azure Bot Service will load the Web Chat control and connect to your bot.
You can download the bot source code as shown below and configure the bot as per your requirements .