> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sync.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Slack

You can use the Slack connector from the CData Sync application to capture data
from Slack and move it to any supported destination. To do so, you need to add
the connector, authenticate to the connector, and complete your connection.

## Add the Slack Connector

To enable Sync to use data from Slack, you first must add the
connector, as follows:

<ol>
  <li>Open the **Connections** page of the Sync dashboard.</li>
  <li>Click **Add Connection** to open the **Select Connectors** page.</li>
  <li>Click the **Sources** tab and locate
  the **Slack** row.</li>

  <li>
    Click the **Configure Connection** icon at the end of that row to open
    the **New Connection** page. This action opens the
    **Add Connection** dialog.

    **Note:** If the **Configure Connection** icon is not
    available, click the **Download Connector** icon to install
    the Slack connector.
  </li>

  <li>Enter a name for your connection in the **Add Connection** dialog.</li>
  <li>Click **Add** to open the **Settings** tab for your connector.</li>
</ol>

For more information about installing new connectors, see
[Connections](https://docs.sync.cdata.com/26.4/en/connections/connections.md).

## Authenticate to Slack

After you add the connector, you need to set the required properties.

**Team:** Enter the identifier of the Slack team to which you belong.

CData Sync supports authenticating to Slack in several ways. Select your authentication method below to proceed to the relevant section that contains the authentication details.

* [**OAuth**](#oauth) (default)
* [**User Token**](#user-token)

### OAuth

To connect with OAuth credentials, specify the following properties:

* **Auth Scheme:** Select **OAuth**.
* **OAuth Version:** Enter the version for the type of authentication that you want to use when you connect to Slack. Each version is used for a different type of authentication:
  * Use **v2** (the default version) to perform OAuth authentication on new applications.
  * Use **openid** to perform OAuth authentication when you use the OpenID Connect protocol.

### User Token

To connect with a user OAuth token, specify the following properties:

* **Auth Scheme:** Select **UserToken**.
* **User Token:** Enter the non-expiring user token that you created in Slack. The token is available in the Slack application settings by selecting **Features > OAuth & Permissions**.

## Complete Your Connection

To complete your connection:

1. Define advanced connection settings on the **Advanced** tab. (In most cases, though, you should not need these settings.)
2. If you authenticate with OAuth, click **Connect to Slack** to connect to your Slack account.
3. Click **Create & Test** to create your connection.

## More Information

For more information about interactions between CData Sync and Slack, see
[Slack Connector for CData Sync](https://cdn.cdata.com/help/FCN/synch/default.htm).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.