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

# Veeva Vault

export const CommonDatasourceMoreInformation = ({datasource = "the data source", advancedurl = "", siteName = "CData Sync", driverVersion = ""}) => {
  return <>
      <p>
        {siteName} と{datasource} の連携について、詳しくは{' '}
        <a href={`https://cdn.cdata.com/help/${advancedurl}${driverVersion}/jp/synch/default.htm`}>
          {datasource} Connector for {siteName}
        </a> を参照してください。
      </p>
    </>;
};

export const CommonAuthSchemeOktaSso = ({siteName = "CData Sync", siteNameShort = "Sync", datasource = "the data source"}) => {
  return <>
      <p>Okta を介したシングルサインオン（SSO）で接続するには、次のプロパティを指定します：</p>
      <ul>
        <li><strong>Auth Scheme：</strong><strong>OKTA</strong> を選択。</li>
        <li><strong>User：</strong>Okta アカウントへの認証に使用するユーザー名を入力。</li>
        <li><strong>Password：</strong>Okta アカウントへの認証に使用するパスワードを入力。</li>
        <li><strong>SSO Login URL：</strong>シングルサインオン（SSO）プロバイダーが使用するログインURL を入力。</li>
        <li><strong>SSO Properties：</strong>使用するシングルサインオン（SSO）プロパティをセミコロン区切りで入力（例えば、<em>SSOProperty1</em>=<em>Value1</em>;<em>SSOProperty2</em>=<em>Value2</em>;...）。</li>
      </ul>
    </>;
};

export const CommonAuthSchemeBasic = ({siteName = "CData Sync", siteNameShort = "Sync", datasource = "the data source"}) => {
  return <>
      <p>ユーザー資格情報で接続するには、次のプロパティを設定します：</p>
      <ul>
        <li><strong>Auth Scheme：</strong><strong>Basic</strong> を選択。</li>
        <li><strong>User：</strong>{datasource} アカウントへの認証に使用するユーザー名を入力。</li>
        <li><strong>Password：</strong>{datasource} アカウントへの認証に使用するパスワードを入力。</li>
      </ul>
    </>;
};

export const CommonDatasourceAddConnector = ({datasource = "the data source", title = "the connector", destination = false, siteNameShort = "Sync"}) => {
  return <>
      <p>
        {siteNameShort} で{datasource} のデータを使用できるようにするには、まず以下の手順でコネクタを追加する必要があります：
      </p>
      <ol>
        <li>{siteNameShort} のダッシュボードから<strong>接続</strong>ページを開きます。</li>
        <li><strong>接続を追加</strong>をクリックして<strong>コネクタを選択</strong>ページを開きます。</li>
        <li>
          <strong>{destination ? "同期先" : "データソース"}</strong>タブをクリックして
          <strong>{title}</strong> 行に移動します。
        </li>
        <li>
          行末にある<strong>接続を設定</strong>アイコンをクリックして、<strong>新しい接続</strong>ページを開きます。この操作により、{' '}
          <strong>接続を追加</strong>ダイアログボックスが開きます。
          <br />
          <strong>Note：</strong> <strong>接続を設定</strong>アイコンが表示されない場合は、<strong>コネクタをダウンロード</strong>アイコンをクリックして {title} コネクタをインストールしてください。
        </li>
        <li><strong>接続を追加</strong>ダイアログボックスに接続名を入力します。</li>
        <li><strong>追加</strong>をクリックして、コネクタの<strong>設定</strong>タブを開きます。</li>
      </ol>
      <p>
        新しいコネクタのインストールについての詳細は、{' '}
        <a href="../connections">接続</a>を参照してください。
      </p>
    </>;
};

export const CommonDatasourceIntroDestination = ({datasource = "the data source", siteName = "CData Sync"}) => {
  return <p>
      {siteName} アプリケーションから{datasource} コネクタを使用して、サポートされている任意のデータソースから同期先の{datasource} へデータを移動できます。これを行うには、コネクタを追加し、コネクタへの認証を行い、接続を完了する必要があります。
    </p>;
};

export const driverVersion = "M";

export const siteNameShort = "Sync";

export const siteName = "CData Sync";

<CommonDatasourceIntroDestination datasource="Veeva Vault" siteName={siteName} />

## Veeva Vault コネクタを追加

<CommonDatasourceAddConnector datasource="Veeva Vault" title="Veeva Vault" destination={true} siteNameShort={siteNameShort} />

## Veeva Vault への認証

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

**URL:** Enter the URL for your Veeva Vault host (for example, https\://*MyVault*.veevavault.com).

{siteName} supports authenticating to Veeva Vault in several ways. Select your authentication method below to proceed to the relevant section that contains the authentication details.

* [**Basic**](#basic) (default)
* [**Azure Active Directory**](#azure-active-directory)
* [**Azure Active Directory OpenID**](#azure-active-directory-with-openid-connect)
* [**OKTA**](#okta)

### Basic

<CommonAuthSchemeBasic siteName={siteName} datasource="Veeva Vault" />

### Azure Active Directory

To connect with your Azure Active Directory credentials, specify the following properties:

* **Auth Scheme:** Select **AzureAD**.
* **Azure Tenant:** Enter the Veeva Vault tenant that is used to access data, either by name (for example, contoso.omnicrosoft.com) or by identifier (Id).
* **OAuth Client Id:** Enter the client Id that you were assigned when you registered your application with an OAuth authorization server.
* **OAuth Client Secret:** Enter the client secret that you were assigned when you registered your application with an OAuth authorization server.
* (Optional) **Open ID Connect Profile ID:** Enter the Id of your OAuth2.0 / Open ID Connect profile.

### Azure Active Directory with OpenID Connect

To connect via OpenID Connect with Azure Active Directory, specify the following properties:

* **Auth Scheme:** Select **AzureADOpenID**.
* **OAuth JWT Cert:** Enter your Java web tokens (JWT) certificate store.
* **OAuth JWT Cert Type:** Enter the type of key store that contains your JWT Certificate. The default type is **PEMKEY\_BLOB**.
* (Optional) **OAuth JWT Cert Password:** Enter the password for your OAuth JWT certificate.
* (Optional) **OAuth JWT Cert Subject:** Enter the subject of your OAuth JWT certificate.

### Okta

<CommonAuthSchemeOktaSso siteName={siteName} />

* **SSO Exchange Url:** Enter the URL that is used for consuming the SAML response and exchanging it for service specific credentials.

## Veeva Vault as a Reverse ETL Destination

In the {siteNameShort} application, you can configure Veeva Vault as a reverse ETL destination so that it can receive processed data from the source warehouse.

As a reverse ETL destination, Veeva Vault supports all three transfer modes (**Insert**, **Upsert**, and **Update**).

In Veeva Vault, updates are matched by using either the object's primary key (or a system-generated identifier) or unique columns. For **Upsert** mode, only unique columns are used for matching.

**Note:** Bulk operations for **Insert**, **Upsert**, and **Update** are supported only for the current Veeva Vault API.

**Transfer-Modes Summary**

|  Mode  | Supported | Key Used for Matching                                  | Bulk Support           | Notes                                                                                                             |
| :----: | :-------: | :----------------------------------------------------- | :--------------------- | :---------------------------------------------------------------------------------------------------------------- |
| Insert |    Yes    | N/A (always creates new records)                       | Yes (with current API) | Creates new records in Veeva Vault.                                                                               |
| Update |    Yes    | Primary key (or system-generated Id) or unique columns | Yes (with current API) | Updates existing records.                                                                                         |
| Upsert |    Yes    | Unique columns                                         | Yes (with current API) | Updates existing records if a matching key or unique column exists. If no match exists, a new record is inserted. |

For more information about reverse ETL jobs, see [Reverse ETL](../../jobs/reverse-etl).

## 接続を完了する

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 AzureAD or AzureADOpenID, click **Connect to Veeva Vault** to connect to your Veeva Vault account.
3. Click **Create & Test** to create your connection.

## 詳細について

<CommonDatasourceMoreInformation datasource="Veeva Vault" advancedurl="SV" siteName={siteName} driverVersion={driverVersion} />
