# Using Slack 2.3.1 with Rasa

**URL:** <https://forum.rasa.com/t/using-slack-2-3-1-with-rasa/21424>\
**Category:** Rasa Open Source\
**Created:** [November 18, 2019, 7:46pm UTC](https://forum.rasa.com/t/using-slack-2-3-1-with-rasa/21424 "2019-11-18T19:46:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kvsista](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/kvsista/32/5976_2.png) [@kvsista](https://forum.rasa.com/u/kvsista)\
**Post date:** [November 18, 2019, 7:46pm UTC](https://forum.rasa.com/t/using-slack-2-3-1-with-rasa/21424/1 "2019-11-18T19:46:22Z")

</div>

I’m building a bot on slack and installed Rasa’s newest version using **pip install rasa-x --extra-index-url [Simple Index](https://pypi.rasa.com/simple)** which installs slackclient==1.3.1 version. I’m currently using slackclient==2.3.1 version and am unable to have a environment that works. Is anyone else facing similar problems with the slack version?

![Capture](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/9/9de9ac8755698e7a0cceb56534cd8802dc2e46eb.png)

You can see that both versions of slack are currently installed in the image above. The first one i.e. 2.3.1 is the one that I had installed earlier and the 2nd is the one that got install when i install rasa using the above command.

![Capture](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/0/00671e9370ee35d79615224e20d67f3e4f3ad5d0.png)

Now i’m unable to connect to the Slack API. ☹

---

<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:** [November 21, 2019, 9:09am UTC](https://forum.rasa.com/t/using-slack-2-3-1-with-rasa/21424/2 "2019-11-21T09:09:03Z")

</div>

Hi @kvsista, you’re right, rasa is still on 1.3.1. This is why we recommend installing rasa in a venv. What are you using slackclient 2.3.1 for?

---

<div class="post-metadata">

**Author:** ![kvsista](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/kvsista/32/5976_2.png) [@kvsista](https://forum.rasa.com/u/kvsista)\
**Post date:** [November 28, 2019, 11:49am UTC](https://forum.rasa.com/t/using-slack-2-3-1-with-rasa/21424/3 "2019-11-28T11:49:02Z")

</div>

The newer version of slack has a redesigned RTMCClient and WebClient which I think would be better to use. Are there any plans for enhancements?

---

<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:** [December 2, 2019, 10:09am UTC](https://forum.rasa.com/t/using-slack-2-3-1-with-rasa/21424/4 "2019-12-02T10:09:18Z")

</div>

Yes, there is an issue open for updating the slackclient: [look into updating to slackclient 2.0 · Issue #3464 · RasaHQ/rasa · GitHub](https://github.com/RasaHQ/rasa/issues/3464) which i agree needs to be done since apparently support for 1.x drops at the end of the year. I looked briefly into it, and it’s not just a trivial upgrade, pretty sure some things break when upgrading that need to get fixed, but if you’re interested in implementing the upgrade we’d be happy to accept a PR for it.
