--- title: "How to Integrate Facebook to Tegsoft Web Chat?" slug: "how-to-integrate-facebook-to-tegsoft-web-chat" updated: 2022-12-01T19:59:55Z published: 2022-12-01T19:59:55Z canonical: "docs.tegsoft.com/how-to-integrate-facebook-to-tegsoft-web-chat" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.tegsoft.com/llms.txt > Use this file to discover all available pages before exploring further. # How to Integrate Facebook to Tegsoft Web Chat? **Facebook Messenger** is a **real-time messaging app** built into the social media platform Facebook itself. It's fast, mobile, and has some great features for managing conversations. Tegsoft provides the opportunity to i**ntegrate Facebook Messenger into their products**. This integration enables users to manage, record, process and report inbound customer conversations emerging from Facebook Messenger as Tegsoft web chat calls **without the need to transfer call data from third parties**. This article describes how to integrate Facebook to Tegsoft Web Chat. By reading this article, you will have information about: - activating Facebook Business Manager - activating Facebook Messenger - integrating and activating Facebook Messenger into Tegsoft. ## Facebook Messenger Activation Steps Please, follow the steps below to integrate Facebook Messenger to Tegsoft Web Chat. ### 1. Facebook Business Manager Activation First, you need to activate Facebook Business Manager account. Therefore, please create an account from Facebook Business Manager by following the steps in flowchart below. ![0001.jpg](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/0001.jpg?sv=2026-02-06&spr=https&st=2026-11-16T00%3A48%3A01Z&se=2026-11-16T01%3A48%3A01Z&sr=c&sp=r&sig=HRXqmoyIyGmNNlPU2ZHal3DQvUyWjWbcw25y9GntZ%2Fw%3D) ### 2. Facebook Messenger Activation Please, follow the steps below to activate Facebook Messenger account. **Note:** Before you begin, make sure that you are the admin of the page to be integrated. **1.** ➤ Go to [https://developers.facebook.com/](https://developers.facebook.com/) and login to your account. ➤ Click **My Apps**. ![Screen Shot 2021-12-30 at 11.34.34.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/Screen%20Shot%202021-12-30%20at%2011.34.34.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A48%3A01Z&se=2026-11-16T01%3A48%3A01Z&sr=c&sp=r&sig=HRXqmoyIyGmNNlPU2ZHal3DQvUyWjWbcw25y9GntZ%2Fw%3D) **2.** ➤ Click **Create App** button in the top right-hand corner. ![1.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/1.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A48%3A01Z&se=2026-11-16T01%3A48%3A01Z&sr=c&sp=r&sig=HRXqmoyIyGmNNlPU2ZHal3DQvUyWjWbcw25y9GntZ%2Fw%3D) **3.** ➤ Select **Business** app type. *(The app type cannot be changed after your app is created.)* ➤ Click **Next**. ![2.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/2.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A48%3A01Z&se=2026-11-16T01%3A48%3A01Z&sr=c&sp=r&sig=HRXqmoyIyGmNNlPU2ZHal3DQvUyWjWbcw25y9GntZ%2Fw%3D) **4.** ➤ Enter a **Display name** for your app. *(This is the app name associated with your app ID. You can change this later.)* ➤ Enter an **App Contact Email** address for your app. *(This email address is used to contact you about potential policy violations, app restrictions or steps to recover the app if it’s been deleted or compromised.)* ➤ Select the **Business Account** from the list. *(To access certain permission of features, apps need to be connected to a Business Account.)* ➤ Click **Create App**. ![3.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/3.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A48%3A01Z&se=2026-11-16T01%3A48%3A01Z&sr=c&sp=r&sig=HRXqmoyIyGmNNlPU2ZHal3DQvUyWjWbcw25y9GntZ%2Fw%3D) **5.** After creating app successfully; ➤ Click **Set Up Messenger** to customize the way you interact with people on Messenger. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1655365367379.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A48%3A01Z&se=2026-11-16T01%3A48%3A01Z&sr=c&sp=r&sig=HRXqmoyIyGmNNlPU2ZHal3DQvUyWjWbcw25y9GntZ%2Fw%3D) **6.** After setting up Messenger; ➤ Click **Messenger** and then **Settings**. ➤ Click **Add or Remove Pages**. ![6.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/6.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A48%3A01Z&se=2026-11-16T01%3A48%3A01Z&sr=c&sp=r&sig=HRXqmoyIyGmNNlPU2ZHal3DQvUyWjWbcw25y9GntZ%2Fw%3D) **7.** After adding new page; ➤ Click **Generate Token**. ➤ Copy generated **Token**. ➤ Click **Done**. ![7.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/7.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A48%3A01Z&se=2026-11-16T01%3A48%3A01Z&sr=c&sp=r&sig=HRXqmoyIyGmNNlPU2ZHal3DQvUyWjWbcw25y9GntZ%2Fw%3D) **8.** After the Facebook Messenger activation is completed successfully, integration parameters shall be set in Tegsoft software. Follow the steps below in Tegsoft software to set integration parameters. **Step 1 –** Click **CC Management** tab. **Step 2 –** Click **Contact Center Settings** tab. **Step 3 –** Click plus icon **(+)** to add new integration parameters. **Step 4 –** Set parameters. **Step 5 –** Click the **Save** button. The parameters in Step 4 are described in the table below. | Parameter | Description | | --- | --- | | Account Name | Enter an account name. | | Account Type | Select account type as **Facebook** from the list. | | URL | Enter the URL as [https://graph.facebook.com/v13.0](https://graph.facebook.com/v13.0). | | API key | Enter your **Token generated from Facebook for Developers**. | | Username | NULL | | Password | NULL | | Phone Number | NULL | | Is active | Click checkbox as active. | | Notes | Type your notes. | | Account id | This is your **TRUNKID** parameter value in the **Callback****URL**. Copy and keep it. | ⚠️  IMPORTANT NOTICEThe **Account ID** in the integration parameters will be used as the value of the **TRUNKID** parameter in the Callback URL in the activation steps on the Facebook for Developers screens. **Please keep this Account ID** for future use in the **next step**. **9.** After generating token; ➤ Click **Add Callback URL**. ➤ Enter your **Callback URL**. *(Validation requests and Webhook notifications for this object will be sent to this URL.)* ➤ Enter your Verify Token. *(Token that Facebook will echo back to you as part of callback URL verification.)* **Callback URL is:** [https://{{YOUR_DOMAIN}}/Tobe/app/ApplicationServlet?externalService=textRouter&TRUNKTYPE=FBMESSENGER&TRUNKID=ACCOUNTID](https://%7B%7BYOUR_DOMAIN%7D%7D/Tobe/app/ApplicationServlet?externalService=textRouter&TRUNKTYPE=FBMESSANGER&TRUNKID=SERVICETEST) **Verify Token is:** tegsoft123 **Note:** In Callback URL, **TRUNKTYPE** and **TRUNKID** parameters are mandatory. ➤ Click **Verify and Save**. ![8.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/8.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A48%3A01Z&se=2026-11-16T01%3A48%3A01Z&sr=c&sp=r&sig=HRXqmoyIyGmNNlPU2ZHal3DQvUyWjWbcw25y9GntZ%2Fw%3D) **10.** After adding Callback URL; ➤ Click **Add Subscriptions**. ➤ Select **messages** subscription. ➤ Click **Save**. ![10.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/10.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A48%3A01Z&se=2026-11-16T01%3A48%3A01Z&sr=c&sp=r&sig=HRXqmoyIyGmNNlPU2ZHal3DQvUyWjWbcw25y9GntZ%2Fw%3D) **11. After subscribing to the messages webhook; ➤ Click **App Review**. ➤ Click **Permissions and Features**. ➤ Filter** **email****. ➤ Click** **Get** ****advanced access** for e-mail permission.** ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1669923857828.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A48%3A01Z&se=2026-11-16T01%3A48%3A01Z&sr=c&sp=r&sig=HRXqmoyIyGmNNlPU2ZHal3DQvUyWjWbcw25y9GntZ%2Fw%3D) ➤ Filter **public_profile**. ➤ Click **Get** **advanced access** for public profile permission. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1669924074896.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A48%3A01Z&se=2026-11-16T01%3A48%3A01Z&sr=c&sp=r&sig=HRXqmoyIyGmNNlPU2ZHal3DQvUyWjWbcw25y9GntZ%2Fw%3D) ➤ Filter **pages_messaging**. ➤ Click **Request** **advanced access** for pages messaging permission. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1669924259438.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A48%3A01Z&se=2026-11-16T01%3A48%3A01Z&sr=c&sp=r&sig=HRXqmoyIyGmNNlPU2ZHal3DQvUyWjWbcw25y9GntZ%2Fw%3D) ➤ Filter **Business Asset User Profile Access**. ➤ Click **Request** **advanced access** for business asset user profile access. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1669924428086.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A48%3A01Z&se=2026-11-16T01%3A48%3A01Z&sr=c&sp=r&sig=HRXqmoyIyGmNNlPU2ZHal3DQvUyWjWbcw25y9GntZ%2Fw%3D)![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1669924449671.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A48%3A01Z&se=2026-11-16T01%3A48%3A01Z&sr=c&sp=r&sig=HRXqmoyIyGmNNlPU2ZHal3DQvUyWjWbcw25y9GntZ%2Fw%3D) **12. After adding the above four permissions and features;** **➤ Click** **Requests****.** ➤ Click **Edit**. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1669924598694.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A48%3A01Z&se=2026-11-16T01%3A48%3A01Z&sr=c&sp=r&sig=HRXqmoyIyGmNNlPU2ZHal3DQvUyWjWbcw25y9GntZ%2Fw%3D) ****13.**** After clicking the edit button, you will see the following page. In this page, you need to complete all steps of app settings and submit your settings for review. App review process takes approximately 5 days. If your requests are approved, you can proceed to the next step. If your requests are not approved, please edit your requests again, taking into account the feedbacks sent by the facebook team. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1658225376039.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A48%3A01Z&se=2026-11-16T01%3A48%3A01Z&sr=c&sp=r&sig=HRXqmoyIyGmNNlPU2ZHal3DQvUyWjWbcw25y9GntZ%2Fw%3D) **14.** After all settings are configured and activations steps are completed successfully, web chat skill shall be created using the related number. For detailed information about creating a web chat skill, please check out [Web Chat Skills (Queues)](/v1/docs/web-chat-skills-queues) article. **15.** **After web chat skill is created successfully, text routing rules shall be defined.** For detailed information about Text Routing Rules, please check out [Text Routing Definitions](/v1/docs/text-routing-definitions) article. --- *Tegsoft makes no representations or warranties, either express or implied, by or with respect to anything in this document, and shall not be liable for any implied warranties of merchantability or fitness for a particular purpose or for any indirect, special or consequential damages.* *Copyright* © *2022, Tegsoft. All rights reserved.* *"Tegsoft" and Tegsoft’s products are trademarks of Tegsoft. References to other companies and their products use trademarks owned by the respective companies and are for reference purpose only.*