# Connectivity to Slack without using Ngrok

**URL:** <https://forum.rasa.com/t/connectivity-to-slack-without-using-ngrok/10346>\
**Category:** Rasa Open Source\
**Created:** [May 24, 2019, 7:15pm UTC](https://forum.rasa.com/t/connectivity-to-slack-without-using-ngrok/10346 "2019-05-24T19:15:16Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![gurpreetbajwa](https://avatars.discourse-cdn.com/v4/letter/g/e8c25b/32.png) [@gurpreetbajwa](https://forum.rasa.com/u/gurpreetbajwa)\
**Post date:** [May 24, 2019, 7:15pm UTC](https://forum.rasa.com/t/connectivity-to-slack-without-using-ngrok/10346/1 "2019-05-24T19:15:16Z")

</div>

I want to integrate my RASA bot with slack’s desktop version. I want to do this without using ngrok since it is a security concern. Please suggest the alternatives to this.

---

<div class="post-metadata">

**Author:** ![tyd](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tyd/32/3030_2.png) [@tyd](https://forum.rasa.com/u/tyd)\
**Post date:** [June 19, 2019, 8:40am UTC](https://forum.rasa.com/t/connectivity-to-slack-without-using-ngrok/10346/2 "2019-06-19T08:40:39Z")

</div>

Hi @gurpreetbajwa! Depending on your exact security concerns with ngrok, another option would be to deploy it on a server. I just deployed a rasa bot on a Google Cloud Compute Engine VM using the slack connector a few weeks ago, so I could definitely help with that if you want to go this route. Let me know! Otherwise, if you could please elaborate a bit more on your security concerns with ngrok and perhaps what your ideal solution to those concerns would need to be, that would help us to be able to answer your question

---

<div class="post-metadata">

**Author:** ![tyd](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tyd/32/3030_2.png) [@tyd](https://forum.rasa.com/u/tyd)\
**Post date:** [June 19, 2019, 8:52am UTC](https://forum.rasa.com/t/connectivity-to-slack-without-using-ngrok/10346/3 "2019-06-19T08:52:23Z")

</div>

You could also check out [Inlets](https://github.com/alexellis/inlets). Perhaps that might also be an alternative to ngrok

---

<div class="post-metadata">

**Author:** ![mia.le0711](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mia.le0711/32/11297_2.png) [@mia.le0711](https://forum.rasa.com/u/mia.le0711)\
**Post date:** [April 14, 2020, 10:46am UTC](https://forum.rasa.com/t/connectivity-to-slack-without-using-ngrok/10346/4 "2020-04-14T10:46:24Z")

</div>

> [@tyd](#):
>
> Inlets

Hi @tyd,

I am also currently running a rasa bot on Google Cloud Compute Engine VM, however cannot connect it to Slack (specially cannot proceed with url verification). Would you mind helping me with my problem?

---

<div class="post-metadata">

**Author:** ![tyd](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tyd/32/3030_2.png) [@tyd](https://forum.rasa.com/u/tyd)\
**Post date:** [April 15, 2020, 1:43pm UTC](https://forum.rasa.com/t/connectivity-to-slack-without-using-ngrok/10346/5 "2020-04-15T13:43:25Z")

</div>

Hi @mia.le0711. Sure, happy to help. Are you able to chat with it using [share your bot](https://rasa.com/docs/rasa-x/user-guide/enable-workflows/#conversations-with-test-users) or the [rest](https://rasa.com/docs/rasa/user-guide/connectors/your-own-website/#restinput) channel?

---

<div class="post-metadata">

**Author:** ![mia.le0711](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mia.le0711/32/11297_2.png) [@mia.le0711](https://forum.rasa.com/u/mia.le0711)\
**Post date:** [April 15, 2020, 1:57pm UTC](https://forum.rasa.com/t/connectivity-to-slack-without-using-ngrok/10346/6 "2020-04-15T13:57:07Z")

</div>

> [@tyd](#):
>
> share your bot

Thank you @tyd. I deployed Rasa Open Source only, I didn’t apply Rasa X!

---

<div class="post-metadata">

**Author:** ![tyd](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tyd/32/3030_2.png) [@tyd](https://forum.rasa.com/u/tyd)\
**Post date:** [April 16, 2020, 11:01am UTC](https://forum.rasa.com/t/connectivity-to-slack-without-using-ngrok/10346/7 "2020-04-16T11:01:07Z")

</div>

@mia.le0711 No worries. There is not a difference for channels, other than we won’t be able to use the `share your bot` channel to help us debug the problem. Is the [rest](https://rasa.com/docs/rasa/user-guide/connectors/your-own-website/#restinput) channel working?

---

<div class="post-metadata">

**Author:** ![nayakpraneet](https://avatars.discourse-cdn.com/v4/letter/n/e19adc/32.png) [@nayakpraneet](https://forum.rasa.com/u/nayakpraneet)\
**Post date:** [December 9, 2020, 11:19am UTC](https://forum.rasa.com/t/connectivity-to-slack-without-using-ngrok/10346/8 "2020-12-09T11:19:22Z")

</div>

@tyd Can you please help me running the RASA X on Windows Server. For so long i was running RASAX on local machine using ngrok but now the issue is, ngrok expires in 7 hours and i need the chatbot running 24\*7. Please help.

---

<div class="post-metadata">

**Author:** ![tyd](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tyd/32/3030_2.png) [@tyd](https://forum.rasa.com/u/tyd)\
**Post date:** [December 9, 2020, 12:43pm UTC](https://forum.rasa.com/t/connectivity-to-slack-without-using-ngrok/10346/9 "2020-12-09T12:43:27Z")

</div>

Hi @nayakpraneet. I would recommend [using Multipass](https://rasa.com/docs/rasa-x/installation-and-setup/install/quick-install-script/#windows--macos-installation) to deploy Rasa X to a windows server.

---

<div class="post-metadata">

**Author:** ![nayakpraneet](https://avatars.discourse-cdn.com/v4/letter/n/e19adc/32.png) [@nayakpraneet](https://forum.rasa.com/u/nayakpraneet)\
**Post date:** [December 17, 2020, 7:10am UTC](https://forum.rasa.com/t/connectivity-to-slack-without-using-ngrok/10346/10 "2020-12-17T07:10:24Z")

</div>

@tyd When I try to run multipass using Oracle Virtual Box I get this error

C:\Users\AIadmin\>multipass launch --name k3s --mem 4G --disk 50G launch failed: Could not start VM: Waiting for VM “k3s” to power on… VBoxManage.exe: error: UUID {643b3289-7d4d-4f65-a03c-87f8c3503902} of the medium ‘C:\windows\system32\config\systemprofile\AppData\Roaming\multipassd\virtualbox\vault\instances\k3s\ubuntu-20.04-server-cloudimg-amd64.vdi’ does not match the value {a95ceaf5-8582-46cb-90dc-f5bbc6c7b68d} stored in the media registry (‘C:\windows\system32\config\systemprofile.VirtualBox\VirtualBox.xml’) VBoxManage.exe: error: Details: code E\_FAIL (0x80004005), component MediumWrap, interface IMedium

---

<div class="post-metadata">

**Author:** ![nayakpraneet](https://avatars.discourse-cdn.com/v4/letter/n/e19adc/32.png) [@nayakpraneet](https://forum.rasa.com/u/nayakpraneet)\
**Post date:** [December 17, 2020, 7:13am UTC](https://forum.rasa.com/t/connectivity-to-slack-without-using-ngrok/10346/11 "2020-12-17T07:13:57Z")

</div>

@tyd And when i use Hyper-V instead of Virtual Box, I get this error

C:\Users\AIadmin\>multipass set local.driver=hyperv

C:\Users\AIadmin\>multipass launch --name k3s --mem 4G --disk 50G launch failed: The Hyper-V Hypervisor is disabled. Please enable by using the following command in an Administrator Powershell and reboot: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor

---

<div class="post-metadata">

**Author:** ![nayakpraneet](https://avatars.discourse-cdn.com/v4/letter/n/e19adc/32.png) [@nayakpraneet](https://forum.rasa.com/u/nayakpraneet)\
**Post date:** [December 17, 2020, 7:15am UTC](https://forum.rasa.com/t/connectivity-to-slack-without-using-ngrok/10346/12 "2020-12-17T07:15:03Z")

</div>

@tyd I am using Windows Server 2019, Is that an issue? I read Multipass doesnt support Windows Server?

---

<div class="post-metadata">

**Author:** ![tyd](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tyd/32/3030_2.png) [@tyd](https://forum.rasa.com/u/tyd)\
**Post date:** [December 17, 2020, 10:04am UTC](https://forum.rasa.com/t/connectivity-to-slack-without-using-ngrok/10346/13 "2020-12-17T10:04:48Z")

</div>

@nayakpraneet I am not super familiar with windows server. Maybe something like " then you can export this virtual machine from Windows 10 to your Windows 2012 R2 server" helps?

> [@How to do offline installation in windows machine](http://forum.rasa.com/t/how-to-do-offline-installation-in-windows-machine/21962/6):
>
> Hi @anupk, Below I wrote down the exact steps, like a recipe, to deploy Rasa X to an Ubuntu VM that you build on Windows 10 with Hyper-V. This recipe should work for you in exactly the same way, since you have a Windows 10 machine with internet access. Then, you can export this virtual machine from Windows 10 to your Windows 2012 R2 server. I did not test it out, but found instructions in this [blog post](https://www.codetwo.com/admins-blog/how-to-export-hyper-v-from-windows-10-to-windows-server-2012-r2/). What is Hyper-V See: [Introduction to Hyper-V on Windows 10](https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/about/) Enable Hyper-V & DISM ([docs](https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v)) …

---

<div class="post-metadata">

**Author:** ![proitservices](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/proitservices/32/3072_2.png) [@proitservices](https://forum.rasa.com/u/proitservices)\
**Post date:** [June 11, 2022, 5:35pm UTC](https://forum.rasa.com/t/connectivity-to-slack-without-using-ngrok/10346/14 "2022-06-11T17:35:26Z")

</div>

Hi, I have an issue with connecting slack to RASA. After a fair chunk of rasa docs and googling I can’t find the reason why this fails. I have a setup on an LXC cluster with Haproxy on the front with letsEncrypt cert. 443 working fine and I can curl the bot on the /webhooks/rest/webhook and getting a correct reply from the model - great.

external domain with cert bot SSL → RT → host (HA proxy) \> LXC \> HA cluster (bot is part of it) \*feel free to pop me a line if you hit a wall with a similar setup.

However when I try to connect slack and try /webhooks/slack/webhook I get a fail `Your URL didn’t respond with the value of the challenge parameter’

if I try the /webhooks/rest/webhook I get: `Our Request: POST “body”: { “type”: “url\_verification”, “token”: “”, “challenge”: “” } Your Response: “code”: “error”: “challenge\_failed” “body”: {

}`

NOTE: For all those who are amazed by RASA documentation…it was a lot lot worse back in the early days. In my case it was as simple as uncommenting the #slack part in credentials.yml and the token values below …

PS. I also came across that previous versions had [https://host](https://host):port/core/webhooks/slack/webhook perhaps it will help others

Cheers, Peter
