omnichannel-integration.md 1.8 KB
Newer Older
1
2
3
4
5
6
---
description: >-
  If your organization wishes to communicate with users of Facebook, you can
  enable an integration within Rocket.Chat to do so.
---

7
# Facebook Messenger
8

9
First, you will need to request an API key from Rocket.Chat Support then set it up within your Administration area.
10
11
12
13
14
15
16

## Requesting an API key

Send an email to [omni@rocket.chat](mailto:omni@rocket.chat) to request an API key. These are processed as time allows, and may take a few days, but you should have your key and secret soon enough.

## Setting up the integration

17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
1. Go to **Administration.**

   ![](../../../.gitbook/assets/image%20%2830%29.png)

2. Search '**OmniChannel'** in **Settings** and on the **OmniChannel Administration Settings** page, find the **Facebook** section. 
3. Enable Facebook integration.
4. enter your _OmniChannel API Key_ and _OmniChannel API Secret_. **Save** the changes.

 

![](../../../.gitbook/assets/image%20%2847%29.png)

5. Return to the main Rocket.Chat interface. Go to Omnichannel panel settings, as shown below:

![](../../../.gitbook/assets/0%20%287%29.png)



35
5. Select Facebook Messenger and  Enable. You'll be prompted to log in. Be sure to use the credentials that are tied to the page you wish to receive messages from. You'll have to do a standard Facebook OAuth login and grant your Rocket.Chat instance access to your pages.
36

37
6. Once you're returned from Facebook you'll see a list of the pages associated with that account. If you see none, make sure that account has pages, then click RELOAD PAGES.
38

39
7. Enabale the pages you'd like to get messages from, as shown below:
40
41
42
43
44

![](../../../.gitbook/assets/image%20%2846%29.png)



45
Return to the main interface. Now any livechat agents you have will see any incoming chats from that page. Responses go back to Facebook as if you were using Messenger itself.
46