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

# AlloyDB

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

## AlloyDB コネクタを追加

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

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

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

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

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

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

## AlloyDB への認証

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

* **Server:** Enter the host name or the IP address of the server that hosts the AlloyDB database. The default host name is **localhost**.
* **User:** Enter the username that you use to authenticate to the AlloyDB server.

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

* [**Password**](#password) (default)
* [**OAuth**](#oauth)

### Password

To connect with your user credentials, set the following properties:

* **Auth Scheme:** Select **Password**.
* **Password:** Enter the password that you use to authenticate to your AlloyDB account.

### OAuth

OAuth カスタムクレデンシャルで接続するには、次のプロパティを指定します：

<ul><li>\*\*Auth Scheme：\*\***OAuth** を選択。</li>
<li>\*\*OAuth Client Id：\*\*OAuth 認証サーバーにアプリケーションを登録した際に割り当てられたクライアントId を入力。</li>
<li>\*\*OAuth Client Secret：\*\*OAuth 認証サーバーにアプリケーションを登録した際に割り当てられたクライアントシークレットを入力。</li></ul>

## 接続を完了する

To complete your connection:

1. Specify the following properties:
   * (Optional) **Database:** Enter the database that you want to connect to when you connect to the AlloyDB server. If you do not specify a database, Sync uses the default database.
   * (Optional) **Port:** Enter the port number of the server that hosts the AlloyDB database. The default port value is **5432**.
2. Define advanced connection settings on the **Advanced** tab. (In most cases, though, you should not need these settings.)
3. If you authenticate with OAuth, click **Connect to AlloyDB** to connect to your AlloyDB account.
4. Click **Create & Test** to create your connection.

## 詳細について


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