--- title: "Slack Integration" slug: "slack-integration" updated: 2022-08-11T14:39:51Z published: 2022-08-11T14:39:51Z canonical: "docs.tegsoft.com/slack-integration" --- > ## 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. # Slack Integration Slack is a messaging program designed specifically for the office but has also been adopted for personal use. Tegsoft offers its users the opportunity to carry out these Slack messages through Tegsoft by integrating the Slack application into their own Tegsoft software. This article explains step by step how to integrate Slack into Tegsoft. ## **1. Slack and Tegsoft Integration** Please follow the steps below carefully to complete the Tegsoft and Slack integration without any problem. **1.** Go to the [https://api.slack.com/apps](https://api.slack.com/apps). Click **Sign in to your Slack account**. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660212945200.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) **2.** Sign in to your Slack account with your email address. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660213069377.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) **3.** Check your email for a code and enter it for verification. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660213149920.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) **4.** Choose a workspace for your user. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660213226422.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) **5.** Click **Create an App**. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660213324155.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) **6.** Choose **From scratch** option to configure your app’s scopes and settings. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660213404977.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) **7.** Enter an **App Name**. Pick a **workspace** to develop your app in. Click **Create App**. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660213522080.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) **8.** Choose **Event Subscriptions** tool. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660213698254.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) **9.** Go to **CC Management ➔ Contact Center Settings** in Tegsoft. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660214023958.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) **1.** Click plus icon **(****+)** to add new text account. **2.** Enter an **Account name**. **3.** Select Account type as **Slack**. **4.** Click **Save** button. **5.** Copy **Account ID** and enter it as the value of the **TRUNKID** in the following URL. *(Please do not forget to replace {TEGSOFT_SERVER} in the URL with your server domain.)* ```none https://{TEGSOFT_SERVER}/Tobe/app/ApplicationServlet?externalService=textRouter&TRUNKTYPE=SLACK&TRUNKID= ``` **10.** **Turn on** the **off** button to enable events. Enter the URL obtained from the previous step as the **Request URL**. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660214230756.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) **11.** Scroll down the page and click **Add Workspace Event** to subscribe to event on behalf of users. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660224968688.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) **12.** Select the following events from the list. **➤ message.im** *(A message was posted in a direct message channel)* **➤ message.groups** *(A message was posted to a private channel)* **➤ message.channels** *(A message was posted to a channel)* Click Save Changes button. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660225152212.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) **13.** Click on the **OAuth & Permissions** tab from the left menu. Click **Install to Workspace** button. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660225323653.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) **14.** Click the **Allow** button to give permission. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660225529382.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) **15.** Copy the **User OAuth Token** and keep it for future use in Tegsoft integration. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660225671373.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) **16.** Click on the **Collaborators** tab from the left menu, then select the **member** to add as a collaborator. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660225778592.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) **17.** Copy the **User Code** at the end of the URL of the redirected page and keep it for future use in Tegsoft integration. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660225925011.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) **18.** Go back to the Text Account page in Tegsoft. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660226560820.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) **1.** Enter https://slack.com/api in the **URL** parameter. **2.** Enter the **User OAuth Token** in the API key parameter. **3.** Enter the User Code in the Username parameter. **4.** Check the **Is active** option. **5.** Click the **Save** button. **19****.** Go back to the **OAuth & Permissions** page. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660226665192.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) **20.** Scroll down the page and click **Add an OAuth Scope** button under the User Token Scope. Select the following scopes from the list. ➤ **c****hat:write** c*(Send messages on a user’s behalf)* ➤ **files:read** *(View files shared in channels and conversations that a user has access to)* ➤ **files:write** *(Upload, edit, and delete files on a user’s behalf)* ➤ **users:read** *(View people in a workspace)* Click the **reinstall your app** for these changes take effect. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660227114610.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) **21.** Click the **Allow** button to give permission. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660227324284.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) ## 2. Create and Configure Web Chat Skills (Queues) After all integrations are configured, web chat skill shall be created. For detailed information about creating a web chat skill, please review [Web Chat Skills (Queues)](https://docs.tegsoft.com/docs/webchat-queue) article. ## 3. Define Text Routing Rules After web chat skill (queue) is created, text routing rules shall be defined. For detailed information about Text Routing rules when creating a web chat skill, please review [Text Routing Definitions](https://docs.tegsoft.com/docs/text-routing-definitions) article. --- When you have successfully completed all these steps, slack application integrated with Tegsoft will be ready to use. For example, when a message is sent to Jane Poe via slack, this call will come to Tegsoft as a text-based call and can be answered by the agent as seen in the following screenshots. ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660228539457.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) ![](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/image-1660228508791.png?sv=2026-02-06&spr=https&st=2026-11-10T09%3A04%3A20Z&se=2026-11-10T10%3A04%3A20Z&sr=c&sp=r&sig=OF%2FeuADNmkftRlT6rA4KlhY1qY2Y%2BV7WsFjJKAep36Q%3D) --- *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.*