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

> Azure Blob Storage (ABS) ClickPipe を初めて作成するためのステップバイステップガイド。

# 最初の Azure Blob Storage ClickPipe を作成する

export const Image = ({img, alt, size = "lg"}) => {
  const normalizedSize = ["sm", "md", "lg"].includes(size) ? size : "lg";
  return <div className={`ch-image-${normalizedSize}`}>
      <Frame>
        <img src={img} alt={alt} />
      </Frame>
    </div>;
};

**前提条件**

このガイドを進めるには、以下が必要です。

* Azure Blob Storage アカウント
* [Azure 接続文字列](/docs/ja/integrations/connectors/data-ingestion/azure/azure-data-factory/using-azureblobstorage#acquiring-azure-blob-storage-access-keys)
* コンテナー名
* 稼働中の ClickHouse Cloud サービス

<Steps>
  <Step title="データソースに移動" id="navigate-to-data-sources">
    サービスのホームページで、左側のメニューから **Data sources** をクリックします。
    **ClickPipes** のドロップダウンを展開し、**Create ClickPipe** をクリックします

    <Image img="https://mintcdn.com/private-7c7dfe99/Rm4A9_kDxZf0ApeE/images/integrations/data-ingestion/clickpipes/object-storage/azure-blob-storage/01-navigate-to-datasources.webp?fit=max&auto=format&n=Rm4A9_kDxZf0ApeE&q=85&s=d82a99776c3f7f47d88ed35270a590bc" alt="データソースに移動" size="md" width="1702" height="1030" data-path="images/integrations/data-ingestion/clickpipes/object-storage/azure-blob-storage/01-navigate-to-datasources.webp" />

    <Image img="https://mintcdn.com/private-7c7dfe99/Rm4A9_kDxZf0ApeE/images/integrations/data-ingestion/clickpipes/object-storage/azure-blob-storage/02-create-clickpipe.webp?fit=max&auto=format&n=Rm4A9_kDxZf0ApeE&q=85&s=e1a972b14d735094e57a51705b9d0f31" alt="ClickPipe を作成" size="md" width="1134" height="390" data-path="images/integrations/data-ingestion/clickpipes/object-storage/azure-blob-storage/02-create-clickpipe.webp" />
  </Step>

  <Step title="データソースを選択" id="select-data-source">
    データタイプとして **Azure Blob Storage** を選択します

    <Image img="https://mintcdn.com/private-7c7dfe99/Rm4A9_kDxZf0ApeE/images/integrations/data-ingestion/clickpipes/object-storage/azure-blob-storage/03-select-blob-storage.webp?fit=max&auto=format&n=Rm4A9_kDxZf0ApeE&q=85&s=e0326a12399b06a292591217dde176e5" alt="Azure Blob Storage を選択" size="md" width="1194" height="624" data-path="images/integrations/data-ingestion/clickpipes/object-storage/azure-blob-storage/03-select-blob-storage.webp" />
  </Step>

  <Step title="ClickPipe 接続を設定" id="setup-connection">
    1. ClickPipe にわかりやすい名前を付けます
    2. 認証方法のドロップダウンで **Connection String** を選択します
    3. **Connection string** のフィールドに Azure 接続文字列を貼り付けます
    4. コンテナー名を入力します
    5. Azure Blob Storage のファイルパスを入力します。複数のファイルを取り込む場合は、ワイルドカードを使用します

    必要に応じて、継続的インジェストを有効にします。詳しくは["Continuous Ingestion"](/docs/ja/integrations/clickpipes/object-storage/azure-blob-storage/overview#continuous-ingestion)を参照してください。

    最後に、**Incoming data** をクリックします

    <Image img="https://mintcdn.com/private-7c7dfe99/Rm4A9_kDxZf0ApeE/images/integrations/data-ingestion/clickpipes/object-storage/azure-blob-storage/04-configuration-details.webp?fit=max&auto=format&n=Rm4A9_kDxZf0ApeE&q=85&s=7ef5d4d104758a1ba5ce07f41a9f516f" alt="設定の詳細" size="md" width="1226" height="842" data-path="images/integrations/data-ingestion/clickpipes/object-storage/azure-blob-storage/04-configuration-details.webp" />
  </Step>

  <Step title="データフォーマットを選択" id="select-data-format">
    1. ファイルタイプを選択します
    2. ファイルの圧縮を選択します (`detect automatically`、`none`、`gzip`、`brotli`、`xz`、`zstd`)
    3. カンマ区切りフォーマットで使用する区切り文字など、フォーマット固有の追加設定を行います
    4. **Parse information** をクリックします

    <Image img="https://mintcdn.com/private-7c7dfe99/Rm4A9_kDxZf0ApeE/images/integrations/data-ingestion/clickpipes/object-storage/azure-blob-storage/05-choose-data-format.webp?fit=max&auto=format&n=Rm4A9_kDxZf0ApeE&q=85&s=9e9c9357e04e57a8c5ae01d688250147" alt="データフォーマットを選択" size="md" width="1214" height="624" data-path="images/integrations/data-ingestion/clickpipes/object-storage/azure-blob-storage/05-choose-data-format.webp" />
  </Step>

  <Step title="テーブル、スキーマ、設定を構成" id="configure-table-schema">
    次に、受信データの保存先となる新しいテーブルを作成するか、既存のテーブルを選択する必要があります。

    1. データのアップロード先として、新しいテーブルか既存のテーブルかを選択します
    2. 使用するデータベースを選択し、新しいテーブルの場合はテーブル名を指定します
    3. ソートキーを 1 つ以上選択します
    4. カラム名、カラム型、デフォルト値、NULL 許容性について、ソースファイルから宛先テーブルへのマッピングを定義します
    5. 最後に、使用するエンジンタイプ、パーティション分割に使う式、主キーなどの高度な設定を指定します

    <Image img="https://mintcdn.com/private-7c7dfe99/Rm4A9_kDxZf0ApeE/images/integrations/data-ingestion/clickpipes/object-storage/azure-blob-storage/06-parse-information.webp?fit=max&auto=format&n=Rm4A9_kDxZf0ApeE&q=85&s=c75fc41ce858f5c68122355b317c1a4f" alt="情報を解析" size="md" width="1212" height="1434" data-path="images/integrations/data-ingestion/clickpipes/object-storage/azure-blob-storage/06-parse-information.webp" />

    テーブル、スキーマ、設定の構成が完了したら、**Details and settings** をクリックします
  </Step>

  <Step title="権限を設定" id="configure-permissions">
    ClickPipes は、データ書き込み専用のデータベースユーザーを設定します。
    このユーザーに割り当てるロールを選択できます。
    materialized view または宛先テーブルからの Dictionary アクセスが必要な場合は、"Full access" を選択してください。

    <Image img="https://mintcdn.com/private-7c7dfe99/Rm4A9_kDxZf0ApeE/images/integrations/data-ingestion/clickpipes/object-storage/azure-blob-storage/07-permissions.webp?fit=max&auto=format&n=Rm4A9_kDxZf0ApeE&q=85&s=ccebdabda431f3b44e6c079471442e6c" alt="権限を設定" size="md" width="1186" height="548" data-path="images/integrations/data-ingestion/clickpipes/object-storage/azure-blob-storage/07-permissions.webp" />
  </Step>

  <Step title="セットアップを完了" id="complete-setup">
    セットアップを完了するには、**Create ClickPipe** をクリックします

    ClickPipe が provisioning ステータスで表示されます。
    しばらくすると、**provisioning** から **completed** に変わります。
  </Step>
</Steps>
