<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Vikash-Invenio</title>
    <description>The latest articles on DEV Community by Vikash-Invenio (@vikashinvenio).</description>
    <link>https://dev.to/vikashinvenio</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F522238%2Ff02f69b4-5473-47a3-8b74-e33dd0fbdad5.png</url>
      <title>DEV Community: Vikash-Invenio</title>
      <link>https://dev.to/vikashinvenio</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vikashinvenio"/>
    <language>en</language>
    <item>
      <title>Control Your Mule Infra Via Bot</title>
      <dc:creator>Vikash-Invenio</dc:creator>
      <pubDate>Sat, 28 Nov 2020 15:33:21 +0000</pubDate>
      <link>https://dev.to/vikashinvenio/control-your-mule-infra-via-bot-2pbl</link>
      <guid>https://dev.to/vikashinvenio/control-your-mule-infra-via-bot-2pbl</guid>
      <description>&lt;h1&gt;
  
  
  Component Diagram :
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fvq7f2599lke4ghg0sk7f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fvq7f2599lke4ghg0sk7f.png" alt="componentDiagram"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Sequence Diagram:
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fdin682nrz6unah392gtx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fdin682nrz6unah392gtx.png" alt="SequenceDiagram"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  We used:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Java jdk 1.8&lt;/li&gt;
&lt;li&gt;Spring boot suite 4.8.1&lt;/li&gt;
&lt;li&gt;Angular 10+ node.js&lt;/li&gt;
&lt;li&gt;Visual Studio code IDE. Vs 1.51&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  IGenie – Chatty Bot:
&lt;/h1&gt;

&lt;p&gt;Chatbots, or conversational interfaces present a new way for individuals to interact with computer systems. A chatbot allows a user to simply ask questions in the same manner that they would address a human. &lt;/p&gt;

&lt;h3&gt;
  
  
  The Use case of IGenie-chatty bot:
&lt;/h3&gt;

&lt;p&gt;We have developed a personal assistant which will make the life easier for the user just by listening to the command. Since it is a personal chatbot it can hold the credential and it also maintain the session. The user can ask for any information*&lt;em&gt;(Ex: Server, API, application status, deployment status)&lt;/em&gt;* if authenticated otherwise need to authenticate first by providing their credentials. Apart from this some of the automation work can also be implemented in future such as scaling of the server(explained in the future extension section).&lt;br&gt;
&lt;strong&gt;A RAML crawler&lt;/strong&gt; is used for generation of patterns and it is built on top of &lt;strong&gt;Mule-RAML API.&lt;/strong&gt; The generated pattern is used to generate a base AIML template.&lt;br&gt;
Currently, this chatbot is build on top of the &lt;strong&gt;Program AB(AIML based chatbot)&lt;/strong&gt; which is internally calling cloud hub API. The JSON data which is coming from the cloud hub API is parsed into the map in such a way that the hierarchy is break down i.e. all the keys are brought to the root level which will optimizes the search. The whole functionality is wrapped up in the response handler API.&lt;/p&gt;

&lt;p&gt;This hash map is used to fill &lt;strong&gt;Mother AIML file template&lt;/strong&gt; and later it is loaded to the Bot at run time and the bot will give the best response from the available option. Which will be later shown to the end user at the chatbot UI.  &lt;/p&gt;

&lt;h3&gt;
  
  
  The below figure represents the front-end project explorer of IGenie-ChattyBot
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F66juuiwojtjj59x0ut6p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F66juuiwojtjj59x0ut6p.png" alt="picture3"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Steps for front end set up:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt;&lt;br&gt;
Download the &lt;a href="https://github.com/Vikash-Invenio/MuleHackathon-Frontend.git" rel="noopener noreferrer"&gt;Zip file&lt;/a&gt; and extract.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt;&lt;br&gt;
Go to the extracted file location and open cmd terminal.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fnks8033d9ovqweimqp2v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fnks8033d9ovqweimqp2v.png" alt="picture4"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3:&lt;/strong&gt;&lt;br&gt;
Run the command &lt;strong&gt;npm install&lt;/strong&gt; in that terminal. This installs all the packages used in the project. &lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F1v2nhl7l61usnizy1epj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F1v2nhl7l61usnizy1epj.png" alt="picture5"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Once all the packages are installed through &lt;strong&gt;npm install.&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Run the command &lt;strong&gt;ng serve&lt;/strong&gt;, which builds and runs the app. 
Here, the app runs on port &lt;strong&gt;4200&lt;/strong&gt; by default .&lt;/li&gt;
&lt;li&gt;If you want to use a different port &lt;strong&gt;(eg : 4202)&lt;/strong&gt; &lt;/li&gt;
&lt;li&gt;Run the command &lt;strong&gt;ng serve--port 4202&lt;/strong&gt; instead of &lt;strong&gt;ng serve.&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fqwbsn3szxkwwm98whr5g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fqwbsn3szxkwwm98whr5g.png" alt="picture6"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5:&lt;/strong&gt;&lt;br&gt;
Open Visual Studio Code. &lt;br&gt;
&lt;code&gt;To open an existing app folder&lt;/code&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Go to File --&amp;gt; Open Folder --&amp;gt; open the extracted app folder&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Ftnbumgqwz5snytaitrwb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Ftnbumgqwz5snytaitrwb.png" alt="picture7"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fglf6z7pxjfz1tqiasadp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fglf6z7pxjfz1tqiasadp.png" alt="picture8"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  You can also customize your chatbot UI by creating additional component.
&lt;/h3&gt;

&lt;h4&gt;
  
  
  The default Bot UI contains:
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;  Chatbox component&lt;/li&gt;
&lt;li&gt;  App component &lt;/li&gt;
&lt;li&gt;  Chatbox Service module &lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  To create a new Component :
&lt;/h4&gt;

&lt;h5&gt;
  
  
  use command :
&lt;/h5&gt;

&lt;blockquote&gt;
&lt;p&gt;ng generate component componentname&lt;br&gt;
             &lt;strong&gt;or&lt;/strong&gt;&lt;br&gt;
ng g c componentname&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fp6m3u6ee4buexnrlb0cl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fp6m3u6ee4buexnrlb0cl.png" alt="picture9"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  To add new packages
&lt;/h3&gt;

&lt;h4&gt;
  
  
  use command:
&lt;/h4&gt;

&lt;blockquote&gt;
&lt;p&gt;npm install packagename@version&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Check for the version compatibility in order not to cause version mismatch.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fsf6p7zht9tqs859o6n04.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fsf6p7zht9tqs859o6n04.png" alt="Untitled10"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  To create new service module
&lt;/h3&gt;

&lt;h4&gt;
  
  
  use command:
&lt;/h4&gt;

&lt;blockquote&gt;
&lt;p&gt;ng g service servicename&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fgxtpe3p6trqihmxd3y6e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fgxtpe3p6trqihmxd3y6e.png" alt="Untitled11"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  app.module.ts :
&lt;/h3&gt;

&lt;p&gt;It contains all the components, modules and services created and used in the UI app &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fxjqsdqnsza8i8prf8ei9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fxjqsdqnsza8i8prf8ei9.png" alt="Untitled12"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  All the packages are already created and installed
&lt;/h3&gt;

&lt;p&gt;using &lt;strong&gt;npm install command&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F9qc7lmaxbxiubmajg9e1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F9qc7lmaxbxiubmajg9e1.png" alt="Untitled13"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Focbavgomwi60argewma8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Focbavgomwi60argewma8.png" alt="Untitled14"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Steps for Backend Setup:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt;&lt;br&gt;
Download the project Zip file. &lt;a href="https://github.com/Vikash-Invenio/Mulesoft-hackathon" rel="noopener noreferrer"&gt;click here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fa2ffxqz293o9o0t3cdzp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fa2ffxqz293o9o0t3cdzp.png" alt="Picture15"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt;&lt;br&gt;
Extract the zip file to the spring boot suite(STS) workspace.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fa65dau5h73dm303ts97y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fa65dau5h73dm303ts97y.png" alt="Picture16"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3:&lt;/strong&gt;&lt;br&gt;
 &lt;code&gt;Open the extracted file, Go to&lt;/code&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;File-&amp;gt;open project from the file system&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fo1aloklyr2kw9tzkjrl8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fo1aloklyr2kw9tzkjrl8.png" alt="Picture17"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4:&lt;/strong&gt;&lt;br&gt;
Search for the directory where you have extracted your project and then click finish. It will add your project to the workspace.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Frdqk0el59d7r8oy2jeuk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Frdqk0el59d7r8oy2jeuk.png" alt="Picture18"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5:&lt;/strong&gt;&lt;br&gt;
Clean your project&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Project-&amp;gt;Right click-&amp;gt;Debug as-&amp;gt;maven clean-&amp;gt;finish&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fj3e0irsmnoyyxuay0es3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fj3e0irsmnoyyxuay0es3.png" alt="Picture19"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 6:&lt;/strong&gt;&lt;br&gt;
Update your project.(it will add all your dependency)&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Project -&amp;gt;right click-&amp;gt;maven-&amp;gt; update project-&amp;gt;force update&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fx2e0bekf76o16lzetl3f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fx2e0bekf76o16lzetl3f.png" alt="Picture20"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fapdi9hqoxqxqnry2rgcu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fapdi9hqoxqxqnry2rgcu.png" alt="Picture21"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 7:&lt;/strong&gt;&lt;br&gt;
write port number and the cloudHub API in the application.properties file as shown below and save the file. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Ft87htxhhn7dhy58euy0c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Ft87htxhhn7dhy58euy0c.png" alt="Picture22"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  For integrating front end with back end:
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Backend modification:
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;Go to chatbot.java file:&lt;/code&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;src-&amp;gt;com.invenio.util.controller-&amp;gt;chatbot.java&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;add @CrossOrigin(origins = &lt;a href="http://localhost:4202).(We" rel="noopener noreferrer"&gt;http://localhost:4202).(We&lt;/a&gt; are using port 4202. You can use any port number change the port accordingly.) &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Frznm1ic1zvfi44y12fpm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Frznm1ic1zvfi44y12fpm.png" alt="Picture23"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Front-end modification:
&lt;/h3&gt;

&lt;p&gt;Open Chatbox.service.ts, Got to &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;src-&amp;gt;app-&amp;gt;chatbot-&amp;gt;Chatbox.service.ts&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Change the rest api url according to the port you are using as shown below.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F36v4hsygeeyl4vls7m2d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F36v4hsygeeyl4vls7m2d.png" alt="Picture24"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to run your chatbot:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; &lt;br&gt;
Once your set up is ready.&lt;br&gt;
Start your backend service as spring boot app. Go to&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;project-&amp;gt;right click-&amp;gt;run as-&amp;gt;spring boot app.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fg5tvn6xjm5jomh8qhqp3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fg5tvn6xjm5jomh8qhqp3.png" alt="Picture25"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fx2lwlgrt7664orhvlnvk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fx2lwlgrt7664orhvlnvk.png" alt="Picture26"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt;&lt;br&gt;
Put the URL &lt;a href="http://localhost:4202" rel="noopener noreferrer"&gt;http://localhost:4202&lt;/a&gt; in the browser to see the running chatbot UI &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fk9aclfar319rv0odrtpk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fk9aclfar319rv0odrtpk.png" alt="Picture27"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  AnyPoint Studio platform:
&lt;/h2&gt;

&lt;p&gt;We have tested our application for the following cloudhub Api:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;a href="https://anypoint.mulesoft.com/accounts/login" rel="noopener noreferrer"&gt;https://anypoint.mulesoft.com/accounts/login&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt; &lt;a href="https://anypoint.mulesoft.com/accounts/api/me" rel="noopener noreferrer"&gt;https://anypoint.mulesoft.com/accounts/api/me&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://anypoint.mulesoft.com/accounts/api/organizations/&amp;lt;&amp;lt;org_id&amp;gt;&amp;gt;/environments" rel="noopener noreferrer"&gt;https://anypoint.mulesoft.com/accounts/api/organizations/&amp;lt;&amp;gt;/environments&lt;/a&gt; &lt;/li&gt;
&lt;li&gt; &lt;a href="https://anypoint.mulesoft.com/cloudhub/api/v2/applications" rel="noopener noreferrer"&gt;https://anypoint.mulesoft.com/cloudhub/api/v2/applications&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt; &lt;a href="https://anypoint.mulesoft.com/hybrid/api/v1/servers" rel="noopener noreferrer"&gt;https://anypoint.mulesoft.com/hybrid/api/v1/servers&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;For reference to other&lt;/strong&gt; &lt;a href="https://anypoint.mulesoft.com/exchange/portals/anypoint-platform/f1e97bc6-315a-4490-82a7-23abe036327a.anypoint-platform/cloudhub-api/minor/1.0/console/summary/" rel="noopener noreferrer"&gt;cloud hub API&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Testing your chatbot:
&lt;/h2&gt;

&lt;p&gt;Enter your query in the chatbot. For cloud hub related query, login to cloud hub.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F9p5r5cwuleffw2m3qxez.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F9p5r5cwuleffw2m3qxez.png" alt="Picture28"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once Authentication successful. You will get the response.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F019d51rmasbg2jvxg0kx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F019d51rmasbg2jvxg0kx.png" alt="Picture29"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now, chatbot can also response to the cloud hub related query&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F71qr2ot4tfwnfhtlqsxv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F71qr2ot4tfwnfhtlqsxv.png" alt="Picture30"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Future Extension of the IGenie-ChattyBot:
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt; Interaction over Voice.&lt;/li&gt;
&lt;li&gt; Command following chatbot&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Interaction over Voice:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We are trying to provide the voice capability to our chatbot such that the user can interact over voice.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Command following chatbot:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We are also working on providing the capability to our IGenie-ChattyBot to handle the minor error on our cloud where user intervention is not required.&lt;/p&gt;

&lt;p&gt;The above statement can be justified by the below scenario:&lt;br&gt;
Based on the error alert IGenie-ChattyBot will provide the best solutions to be tried, which can resolve the error or capable of handling by itself if required permission and formatted file given.&lt;/p&gt;

&lt;h1&gt;
  
  
  Download &lt;a href="https://github.com/Vikash-Invenio/MuleHackathon-Frontend.git" rel="noopener noreferrer"&gt;IGenie-ChattyBot UI&lt;/a&gt;
&lt;/h1&gt;

&lt;h1&gt;
  
  
  Download &lt;a href="https://github.com/Vikash-Invenio/Mulesoft-hackathon" rel="noopener noreferrer"&gt;IGenie-ChattyBot backend&lt;/a&gt;
&lt;/h1&gt;

</description>
      <category>mulesofthackathon</category>
      <category>anypointplatform</category>
      <category>mulemessages</category>
      <category>programab</category>
    </item>
  </channel>
</rss>
