# How to intergrate RASA X with Facebook Message on Kubenetes

**URL:** <https://forum.rasa.com/t/how-to-intergrate-rasa-x-with-facebook-message-on-kubenetes/24758>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [February 14, 2020, 2:50am UTC](https://forum.rasa.com/t/how-to-intergrate-rasa-x-with-facebook-message-on-kubenetes/24758 "2020-02-14T02:50:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nhha1602](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nhha1602/32/11941_2.png) [@nhha1602](https://forum.rasa.com/u/nhha1602)\
**Post date:** [February 14, 2020, 2:50am UTC](https://forum.rasa.com/t/how-to-intergrate-rasa-x-with-facebook-message-on-kubenetes/24758/1 "2020-02-14T02:50:49Z")

</div>

Dear All,

I deployed RASA X to kubenetes cluster. It worked fine with default web chat. Now I want to intergrate it with Facebook message. How can I do it?

I tested RASA X on server deployment mode and tested successfully with Facebook Messenger - using ngrok on port 5005. But i dont know how to configure webhook on kubenetes cluster.

Could you, please advise this?

Thank you.

---

<div class="post-metadata">

**Author:** ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)\
**Post date:** [February 17, 2020, 10:27am UTC](https://forum.rasa.com/t/how-to-intergrate-rasa-x-with-facebook-message-on-kubenetes/24758/2 "2020-02-17T10:27:37Z")

</div>

Hi @nhha1602 we’re working on adding docs for this (should be there soon hopefully). In the meantime here’s a preview:

To configure the `messaging and voice channels <https://rasa.com/docs/rasa/user-guide/messaging-and-voice-channels/>`\_ which the Rasa container should use, put the content of your `credentials.yml` in the `values.yml` as done in this example:

```
.. code-block:: yaml
    # rasa: Settings common for all Rasa containers
    rasa:
      # additionalChannelCredentials which should be used by Rasa to connect to various
      # input channels
      additionalChannelCredentials: |
        socketio:
          user_message_evt: user_uttered
          bot_message_evt: bot_uttered
          session_persistence: true/false

```

Additionally, there’s a Masterclass [video](https://www.youtube.com/watch?v=uYUxJIiinJE) on this topic. It focuses on the docker-compose setup, but the concept is the same.

---

<div class="post-metadata">

**Author:** ![nhha1602](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nhha1602/32/11941_2.png) [@nhha1602](https://forum.rasa.com/u/nhha1602)\
**Post date:** [February 18, 2020, 6:57am UTC](https://forum.rasa.com/t/how-to-intergrate-rasa-x-with-facebook-message-on-kubenetes/24758/3 "2020-02-18T06:57:12Z")

</div>

Hi,

Thank you for your helps.

This credentials.yml file located in rasa-rasa-x ? I tried to edit this file, but not ok by system limited access (read only file)

Please advise this.

---

<div class="post-metadata">

**Author:** ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)\
**Post date:** [February 18, 2020, 8:53am UTC](https://forum.rasa.com/t/how-to-intergrate-rasa-x-with-facebook-message-on-kubenetes/24758/4 "2020-02-18T08:53:38Z")

</div>

@nhha1602 that should be on your persistent directory. You can edit it with `sudo` usually.

---

<div class="post-metadata">

**Author:** ![nhha1602](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nhha1602/32/11941_2.png) [@nhha1602](https://forum.rasa.com/u/nhha1602)\
**Post date:** [February 21, 2020, 4:55am UTC](https://forum.rasa.com/t/how-to-intergrate-rasa-x-with-facebook-message-on-kubenetes/24758/5 "2020-02-21T04:55:30Z")

</div>

> [@akelad](#):
>
> persistent

Hi, i’m talking in Kubenetes cluster. I can edit it but just when I deploy rasa. I tried to edit it via Kubenetes dashboard - Config Map, but it not effected.

I also tried to login rasa-x pod, edit with root user but also failed.

---

<div class="post-metadata">

**Author:** ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)\
**Post date:** [February 21, 2020, 9:41am UTC](https://forum.rasa.com/t/how-to-intergrate-rasa-x-with-facebook-message-on-kubenetes/24758/6 "2020-02-21T09:41:28Z")

</div>

what do you mean “it not effected”? have you restarted the pod?

---

<div class="post-metadata">

**Author:** ![nhha1602](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nhha1602/32/11941_2.png) [@nhha1602](https://forum.rasa.com/u/nhha1602)\
**Post date:** [February 22, 2020, 5:18am UTC](https://forum.rasa.com/t/how-to-intergrate-rasa-x-with-facebook-message-on-kubenetes/24758/7 "2020-02-22T05:18:51Z")

</div>

Hi,

Thank you, I restarted this pod and it takes new ones.

I think we can close this issue. Thank you for your supports.
