Copy the webchat_client.js file from the dist folder to your static directory and add the following code
Note: Currently it only supports the V1 api of dialogflow. Support for V2 will be added soon.
The style parameter can take two options: 0 for popup and 1 for slide