> ## 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

CData Sync アプリケーションからSlack コネクタを使用して、Slack からデータを取得してサポートされている任意の同期先に移動できます。これを行うには、コネクタを追加し、コネクタへの認証を行い、接続を完了する必要があります。

## Slack コネクタを追加

Sync でSlack のデータを使用できるようにするには、まず以下の手順でコネクタを追加する必要があります：

<ol>
  <li>Sync のダッシュボードから**接続**ページを開きます。</li>
  <li>**接続を追加**をクリックして**コネクタを選択**ページを開きます。</li>
  <li>**データソース**タブをクリックして
  **Slack** 行に移動します。</li>

  <li>
    行末にある**接続を設定**アイコンをクリックして、**新しい接続**ページを開きます。この操作により、
    **接続を追加**ダイアログボックスが開きます。

    **Note：** **接続を設定**アイコンが表示されない場合は、**コネクタをダウンロード**アイコンをクリックして Slack コネクタをインストールしてください。
  </li>

  <li>**接続を追加**ダイアログボックスに接続名を入力します。</li>
  <li>**追加**をクリックして、コネクタの**設定**タブを開きます。</li>
</ol>

新しいコネクタのインストールについての詳細は、
[接続](https://docs.sync.cdata.com/26.4/ja/connections/connections.md)を参照してください。

## 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**.

## 接続を完了する

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.

## 詳細について


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