# Response from bot

**URL:** <https://forum.rasa.com/t/response-from-bot/10229>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [May 23, 2019, 10:14am UTC](https://forum.rasa.com/t/response-from-bot/10229 "2019-05-23T10:14:05Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mandarsuryavanshi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mandarsuryavanshi/32/2780_2.png) [@mandarsuryavanshi](https://forum.rasa.com/u/mandarsuryavanshi)\
**Post date:** [May 23, 2019, 10:14am UTC](https://forum.rasa.com/t/response-from-bot/10229/1 "2019-05-23T10:14:05Z")

</div>

i have created a bot and imported all contents of my data now i want to integrate it to slack how to setup request URL under event subscription tab.how to get slack webhook route moreover, when i add events like message.channels message.mipm it does not let me save those events.

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [May 23, 2019, 11:07am UTC](https://forum.rasa.com/t/response-from-bot/10229/2 "2019-05-23T11:07:12Z")

</div>

Hi! This is for a slack bot, right? If so, you’ll need to first run the server with the `rasa run` command, so that when you input the request URL under “Enable events” it hits a running server and successfully verifies. Once you have a verified url you should be able to subscribe to events and activate interactive components.

---

<div class="post-metadata">

**Author:** ![mandarsuryavanshi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mandarsuryavanshi/32/2780_2.png) [@mandarsuryavanshi](https://forum.rasa.com/u/mandarsuryavanshi)\
**Post date:** [May 23, 2019, 11:09am UTC](https://forum.rasa.com/t/response-from-bot/10229/3 "2019-05-23T11:09:00Z")

</div>

yes i am integrating my bot to slack…and what exactly do i have to input in request URL i am testing it for my internal purpose before going live

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [May 23, 2019, 11:12am UTC](https://forum.rasa.com/t/response-from-bot/10229/4 "2019-05-23T11:12:35Z")

</div>

If you are testing it locally, you will need to use [ngrok](http://rasa.com/docs/rasa-x/get-feedback-from-test-users/#testing-channel-integrations), which will give your local port a url that can be accessed through the internet.

---

<div class="post-metadata">

**Author:** ![mandarsuryavanshi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mandarsuryavanshi/32/2780_2.png) [@mandarsuryavanshi](https://forum.rasa.com/u/mandarsuryavanshi)\
**Post date:** [May 23, 2019, 11:18am UTC](https://forum.rasa.com/t/response-from-bot/10229/5 "2019-05-23T11:18:07Z")

</div>

yes exactly i am using ngrok now when i get ngrok link,it does not verify i follow justina’s tutorial on video it says /slack/event which is route to webhook now how do i configure that line in this new version this is what my doubt is.

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [May 23, 2019, 11:20am UTC](https://forum.rasa.com/t/response-from-bot/10229/6 "2019-05-23T11:20:38Z")

</div>

Which tutorial? I don’t know what line you’re referring to. /slack/event doesn’t ring a bell, the url should be `https://xxxxxx.ngrok.io/webhooks/slack/webhook`

---

<div class="post-metadata">

**Author:** ![mandarsuryavanshi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mandarsuryavanshi/32/2780_2.png) [@mandarsuryavanshi](https://forum.rasa.com/u/mandarsuryavanshi)\
**Post date:** [May 23, 2019, 11:23am UTC](https://forum.rasa.com/t/response-from-bot/10229/7 "2019-05-23T11:23:37Z")

</div>

okay…thanks a lot i will try and get back to you… this is the URL link [YouTube](https://www.youtube.com/watch?v=xu6D_vLP5vY&pbjreload=10)

---

<div class="post-metadata">

**Author:** ![mandarsuryavanshi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mandarsuryavanshi/32/2780_2.png) [@mandarsuryavanshi](https://forum.rasa.com/u/mandarsuryavanshi)\
**Post date:** [May 23, 2019, 11:30am UTC](https://forum.rasa.com/t/response-from-bot/10229/8 "2019-05-23T11:30:59Z")

</div>

i have one more query what will be my request URL under Event Subscription\>Enable Events\>Request URL

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [May 23, 2019, 11:49am UTC](https://forum.rasa.com/t/response-from-bot/10229/9 "2019-05-23T11:49:29Z")

</div>

The request URL for enable events should be the one i posted above 🙂 then the same one is the request URL for interactivity.

---

<div class="post-metadata">

**Author:** ![mandarsuryavanshi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mandarsuryavanshi/32/2780_2.png) [@mandarsuryavanshi](https://forum.rasa.com/u/mandarsuryavanshi)\
**Post date:** [May 23, 2019, 12:10pm UTC](https://forum.rasa.com/t/response-from-bot/10229/10 "2019-05-23T12:10:13Z")

</div>

okay fine thank you

---

<div class="post-metadata">

**Author:** ![mandarsuryavanshi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mandarsuryavanshi/32/2780_2.png) [@mandarsuryavanshi](https://forum.rasa.com/u/mandarsuryavanshi)\
**Post date:** [May 23, 2019, 1:40pm UTC](https://forum.rasa.com/t/response-from-bot/10229/11 "2019-05-23T13:40:58Z")

</div>

hey slack doesnt verify my request URL because when it sends request to my server my ngrok’s server replies with 502 bad gateway

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [May 23, 2019, 1:50pm UTC](https://forum.rasa.com/t/response-from-bot/10229/12 "2019-05-23T13:50:14Z")

</div>

Are you running the rasa server before doing this? Also make sure that your ngrok server is pointing to the same port that you’re running your rasa server on.

---

<div class="post-metadata">

**Author:** ![mandarsuryavanshi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mandarsuryavanshi/32/2780_2.png) [@mandarsuryavanshi](https://forum.rasa.com/u/mandarsuryavanshi)\
**Post date:** [May 24, 2019, 6:24am UTC](https://forum.rasa.com/t/response-from-bot/10229/13 "2019-05-24T06:24:15Z")

</div>

yes i am running rasa server using rasa x and i am using forwarding link from ngrok do i have to use 5005 which is rasa port,right??

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [May 24, 2019, 8:38am UTC](https://forum.rasa.com/t/response-from-bot/10229/14 "2019-05-24T08:38:28Z")

</div>

Yep, the forwarding port is 5005, that should be right

---

<div class="post-metadata">

**Author:** ![mandarsuryavanshi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mandarsuryavanshi/32/2780_2.png) [@mandarsuryavanshi](https://forum.rasa.com/u/mandarsuryavanshi)\
**Post date:** [May 24, 2019, 9:06am UTC](https://forum.rasa.com/t/response-from-bot/10229/15 "2019-05-24T09:06:39Z")

</div>

okay,yes i have used ngrok http 5005 command and copied forwarding url onto request URL tab as you have mentioned…when it requests my URL i get 502 bad gateway in my ngrok prompt and hence it doesnt verify

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [May 24, 2019, 9:23am UTC](https://forum.rasa.com/t/response-from-bot/10229/16 "2019-05-24T09:23:23Z")

</div>

Right, but did you add the `/webhooks/slack/webhook` to the url as i mentioned above?

---

<div class="post-metadata">

**Author:** ![mandarsuryavanshi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mandarsuryavanshi/32/2780_2.png) [@mandarsuryavanshi](https://forum.rasa.com/u/mandarsuryavanshi)\
**Post date:** [May 24, 2019, 9:25am UTC](https://forum.rasa.com/t/response-from-bot/10229/17 "2019-05-24T09:25:17Z")

</div>

yes i did add

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [May 24, 2019, 9:51am UTC](https://forum.rasa.com/t/response-from-bot/10229/18 "2019-05-24T09:51:23Z")

</div>

> [@mandarsuryavanshi](#):
>
> yes i am running rasa server using rasa x

Can you try running the server with `rasa run -m models --connector slack --credentials credentials.yml`

---

<div class="post-metadata">

**Author:** ![mandarsuryavanshi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mandarsuryavanshi/32/2780_2.png) [@mandarsuryavanshi](https://forum.rasa.com/u/mandarsuryavanshi)\
**Post date:** [May 24, 2019, 12:29pm UTC](https://forum.rasa.com/t/response-from-bot/10229/19 "2019-05-24T12:29:19Z")

</div>

okay i will get back to you

---

<div class="post-metadata">

**Author:** ![mandarsuryavanshi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mandarsuryavanshi/32/2780_2.png) [@mandarsuryavanshi](https://forum.rasa.com/u/mandarsuryavanshi)\
**Post date:** [May 24, 2019, 12:54pm UTC](https://forum.rasa.com/t/response-from-bot/10229/20 "2019-05-24T12:54:01Z")

</div>

![issue](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/b/be4ba92b002d7c5d4d9f7c0d2de23387a2859fa7.jpeg)

 ![issue_2](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/8/81ff76c4e53a74e5dde666f382ff3809daefd89d.jpeg)

these are ngrok issue

[Next page](https://forum.rasa.com/t/response-from-bot/10229.md?page=2)
