<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Rasa Connector with Webex in Webex for Developers</title>
    <link>https://community.cisco.com/t5/webex-for-developers/rasa-connector-with-webex/m-p/4122537#M171</link>
    <description>&lt;P&gt;I hope its not still pending :)&amp;nbsp; the method not supported on the url should not prevent it from working on your bot .&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jul 2020 11:21:39 GMT</pubDate>
    <dc:creator>hjabbour</dc:creator>
    <dc:date>2020-07-21T11:21:39Z</dc:date>
    <item>
      <title>Rasa Connector with Webex</title>
      <link>https://community.cisco.com/t5/webex-for-developers/rasa-connector-with-webex/m-p/3988448#M170</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to run my Rasa bot with Cisco Webex Teams.&lt;/P&gt;&lt;P&gt;On my computer I started&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;ngrok http 5002&lt;/PRE&gt;&lt;P&gt;and Rasa with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;rasa run --port 5002 --credentials credentials.yml&lt;/PRE&gt;&lt;P&gt;I created an integration based on this guide:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developer.webex.com/docs/integrations" target="_blank" rel="nofollow noopener"&gt;Cisco Integration&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I’m not quite sure what redirect_uri I have to choose. I tried with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;https://.ngrok.io/webhooks/webexteams/webhook&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I can see a GET request to ngrok. But this method seems to be not allowed. This is the message from&lt;/P&gt;&lt;P&gt;ngrok:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;GET /webhooks/webexteams/webhook 405 Method Not Allowed&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea for this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the correct URI do I have to choose for my integration?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Nov 2019 09:51:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/rasa-connector-with-webex/m-p/3988448#M170</guid>
      <dc:creator>nathy1984</dc:creator>
      <dc:date>2019-11-24T09:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rasa Connector with Webex</title>
      <link>https://community.cisco.com/t5/webex-for-developers/rasa-connector-with-webex/m-p/4122537#M171</link>
      <description>&lt;P&gt;I hope its not still pending :)&amp;nbsp; the method not supported on the url should not prevent it from working on your bot .&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 11:21:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/rasa-connector-with-webex/m-p/4122537#M171</guid>
      <dc:creator>hjabbour</dc:creator>
      <dc:date>2020-07-21T11:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Rasa Connector with Webex</title>
      <link>https://community.cisco.com/t5/webex-for-developers/rasa-connector-with-webex/m-p/4194221#M172</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/261997"&gt;@nathy1984&lt;/a&gt;&amp;nbsp;I was able to get Rasa working with Webex Teams! Here's what I had to do:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Make sure Rasa is publicly accessible (ngrok in my test example)&lt;BR /&gt;2. Create a Webex Teams bot. &lt;A href="https://developer.webex.com/docs/bots" target="_blank"&gt;https://developer.webex.com/docs/bots&lt;/A&gt;&lt;BR /&gt;3. Create a Webex Teams integration for all "messages" types which points to the publicly exposed Rasa url (ngrok) &lt;A href="https://developer.webex.com/docs/integrations" target="_blank"&gt;https://developer.webex.com/docs/integrations&lt;/A&gt;&lt;BR /&gt;4. Use a Webex Teams API (with Webex Team bot's access token) to create a webhook to sign it up for this new Integration you just made. &lt;A href="https://developer.webex.com/docs/api/v1/webhooks/create-a-webhook" target="_blank"&gt;https://developer.webex.com/docs/api/v1/webhooks/create-a-webhook&lt;/A&gt;. Point the "targetUrl" to &lt;A href="https://yourRasaUrlngrok.io/webhooks/webexteams/webhook" target="_blank"&gt;https://yourRasaUrlngrok.io/webhooks/webexteams/webhook&lt;/A&gt;&lt;BR /&gt;Now, at this point all message events the bot receives in Webex Teams will be posted to the Webhooks url (publicly exposed Rasa ngrok url). So now we need to make sure Rasa can consuming this incoming Webhooks with its credentials.yml file.&lt;BR /&gt;5. Make sure Rasa credentials.yml has: &lt;BR /&gt;webexteams:&lt;BR /&gt;access_token: (Webex Team's bot API access token)&lt;BR /&gt;Exactly like documented here: &lt;A href="https://rasa.com/docs/rasa/connectors/cisco-webex-teams/" target="_blank"&gt;https://rasa.com/docs/rasa/connectors/cisco-webex-teams/&lt;/A&gt;&lt;BR /&gt;You can also optionally use "room", but that makes it so the bot will respond into the room (not the DM). For me personally, I like it better with "room" left out of credentials.yml, but having this option is still great.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Creating the Webex Teams &lt;STRONG&gt;bot&lt;/STRONG&gt; &lt;EM&gt;and&lt;/EM&gt; Webex Teams &lt;STRONG&gt;integration&lt;/STRONG&gt; and then signing the bot up for this integration was the piece that took me some time of understand. Once I setup that part with the steps above, it worked great. Also, always use the bots_access token, not the Integration's access token.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, when you DM the bot in Webex Teams, it will respond with the Rasa responses. I hope this helps others! Good luck.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Dec 2020 20:19:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/rasa-connector-with-webex/m-p/4194221#M172</guid>
      <dc:creator>matmorg2</dc:creator>
      <dc:date>2020-12-06T20:19:17Z</dc:date>
    </item>
  </channel>
</rss>

