{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Box Import Integration","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"box-import-integration","__idx":0},"children":["Box Import Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/box-export-integration"},"children":["Box Export Integrationについて詳しく学ぶ。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Box用Data Connectorを使用すると、Boxサーバーに保存されているファイルをTreasure Dataにインポートできます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"前提条件","__idx":1},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure Dataの基本知識"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Boxアカウント"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"接続の設定","__idx":2},"children":["接続の設定"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Treasure コンソール"]},"を開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integrations Hub > Catalog"]},"に移動します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Catalog画面の右端にある検索アイコンをクリックし、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Box"]},"と入力します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Boxコネクタにカーソルを合わせて、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Authentication"]},"を選択します。",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/box.504c996c6e5e04a8cd4fe277d5dac801f853528db614581055d3a60c29328e41.6f4f4360.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["OAuthトークンを入力するか、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Click here"]},"を選択してBoxとの接続を認証します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/create_new_connection.18e52df4d747e34ad9478419c5ee33abd8453bb725c786059c83343086879e0c.6f4f4360.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["まだログインしていない場合はBoxにリダイレクトされてログインするか、BoxアカウントからTreasure Dataへのアクセスを許可する同意画面に移動します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/oauth2_consent.7ce3d1e184b2d44119b26194696eee82d8a5f51a0f7e69328faa0723d35b49bc.6f4f4360.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Grant access to Box"]},"を選択すると、Treasure Dataの接続画面にリダイレクトされます。再度Boxコネクタを選択し、OAuth接続フィールドに移動します。ドロップダウンリストにアカウント名のOAuth接続が表示されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["使用するアカウントを選択してから、接続の作成に進みます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/oauth_created.1675cbf114220075c935db6fd650ac575941db99062ea20aa4152bcc29b0d13b.6f4f4360.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Continue"]},"を選択し、認証の名前を入力します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/2018-10-16_1241.0be2431abf4a0527a386768400d2ce3a12b08c698d6ee6e86f31ae284b525fb3.6f4f4360.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]},"を選択して完了するか、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New Source"]},"を選択して新しいデータ転送を開始します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["OAuth（および唯一の認証方法）は、treasuredata.comとそのサブドメインでのみサポートされています。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"treasure-dataへのデータ転送","__idx":3},"children":["Treasure Dataへのデータ転送"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["BoxサーバーからのデータをTreasure Dataに取り込むには、1回限りの転送または定期的な間隔での繰り返し転送を設定できます。以下の手順が必要です。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/connetion_created.ee46b1cd06af472ec8c2fe900809338c7237927353c29368efe3d53111ddd322.6f4f4360.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"box転送の詳細を入力","__idx":4},"children":["Box転送の詳細を入力"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["BoxファイルまたはBoxフォルダからインポートすることを選択できます。Box入力インポートプラグインは、csvまたはtsvファイルをサポートしています。FileIDからインポートする場合、このファイルはcsvまたはtsvである必要があります。FolderIDからインポートする場合、このフォルダにはcsvまたはtsvファイルが含まれている必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/box-import-integration"},"children":["BoxからFile IDまたはFolder IDを取得する"]},"手順。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"file-idからのインポート","__idx":5},"children":["File IDからのインポート"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Importfromドロップダウンボックスから",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Box File"]},"を選択します。次に、BoxからFile IDを入力し、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mceclip0.6a990e78cc73f4d1e20d034efaa757dec5202aa2ac6888927e36400934a50896.6f4f4360.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"folder-idからのインポート","__idx":6},"children":["Folder IDからのインポート"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Import fromドロップダウンボックスから",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Box Folder"]},"を選択します。次に、BoxからFolder IDを入力します（必須）。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["指定したフォルダに複数のファイルが含まれており、インポートするファイルをフィルタリングしたい場合は、Filter by File Name Prefixにプレフィックスを指定します。コネクタは、Boxのサブフォルダに含まれているファイルも含めて、指定されたプレフィックスで始まるすべてのファイルを収集します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mceclip1.88fff335044458527e70ba156d4c33e2e4ad8b0d97aaffc2add24eb3f9e5b36c.6f4f4360.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"プレビューステップ","__idx":7},"children":["プレビューステップ"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データのプレビューが表示されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/preview.ba04c1c52902c9d775708953d09d726eb20f75adfc6312924b3f27dc6f0bc24f.6f4f4360.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["指定した転送を変更したり、インポートの追加オプションを選択したりするには、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Advanced Settings"]},"を選択します。それ以外の場合は、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"を選択します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ターゲットデータベースとテーブルを選択","__idx":8},"children":["ターゲットデータベースとテーブルを選択"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Transfer Toタブで、データをインポートするTreasure Dataのターゲットデータベースとテーブルを選択します。Create new databaseまたはCreate new tableチェックボックスを使用して、新しいデータベースまたはテーブルを作成できます。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Append"]}," – 既存のテーブルにレコードを追加します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Replace"]}," – テーブル内の既存のデータを、インポートされるデータに置き換えます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Partition key Seed"]},": パーティション時間列として使用するlongまたはtimestamp列を選択します。時間列を指定しない場合は、転送のアップロード時間が",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["time"]},"列の追加と組み合わせて使用されます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Storage Timezone"]},": データが保存されるタイムゾーン"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/create_transfer.300c6773eabbcc88e6bd28b71090b537146b628984dbf58e94715259eba39290.6f4f4360.png","alt":""},"children":[]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"スケジュール","__idx":9},"children":["スケジュール"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Scheduleタブでは、1回限りの転送を指定するか、自動化された繰り返し転送をスケジュールできます。Once nowを選択した場合は、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start Transfer"]},"を選択します。Repeat…を選択した場合は、スケジュールオプションを指定してから、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Schedule Transfer"]},"を選択します。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Once now"]},": 転送を1回だけ実行します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/create_schedule.86e07f0f15d8cc02beb3a54ea971a1e82853519c6ba82812beb843d896f31e98.6f4f4360.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Repeat…"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Schedule"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@hourly"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@daily"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@monthly"]},"の3つのオプションとカスタム",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cron"]},"を受け入れます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delay Transfer"]},": 実行時間の遅延を追加します。"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Scheduling Timezone"]},": データが保存されるタイムゾーン。データもこのタイムゾーンで表示されます。'Asia/Tokyo'のような拡張タイムゾーン形式をサポートしています。"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/scheduled_transfer.7d60d30c370d83e7093393204a9dcff96b82e3c5f48b7ac9298a9f3b47453333.6f4f4360.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["転送が実行された後、Databasesタブで転送の結果を確認できます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"boxからfile-idまたはfolder-idを取得する","__idx":10},"children":["BoxからFile IDまたはFolder IDを取得する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ルートフォルダでBoxにログインします。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/box_root.0d9f556f8fb77db47a76f0c6ce38d94fa791c3f1800c1ee0c26ea0ffb1f11bcb.6f4f4360.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["IDを取得したいファイルまたはフォルダを選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["これがフォルダIDです。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/box_folder_id.dc6c0e7ba0493dcc824f23c2031487ebc0e4a5e1f446b5c919f89183ab7c3b85.6f4f4360.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["これがファイルIDです"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/box_file_id.6ba2fce1865b827bc7eaf005e9cd9b4e81ee14a4b9f4c2eed4f313c25c149692.6f4f4360.png","alt":""},"children":[]}]}]},"headings":[{"value":"Box Import Integration","id":"box-import-integration","depth":1},{"value":"前提条件","id":"前提条件","depth":1},{"value":"接続の設定","id":"接続の設定","depth":1},{"value":"Treasure Dataへのデータ転送","id":"treasure-dataへのデータ転送","depth":1},{"value":"Box転送の詳細を入力","id":"box転送の詳細を入力","depth":3},{"value":"File IDからのインポート","id":"file-idからのインポート","depth":4},{"value":"Folder IDからのインポート","id":"folder-idからのインポート","depth":4},{"value":"プレビューステップ","id":"プレビューステップ","depth":3},{"value":"ターゲットデータベースとテーブルを選択","id":"ターゲットデータベースとテーブルを選択","depth":3},{"value":"スケジュール","id":"スケジュール","depth":3},{"value":"BoxからFile IDまたはFolder IDを取得する","id":"boxからfile-idまたはfolder-idを取得する","depth":1}],"frontmatter":{"seo":{"title":"Box Import Integration"}},"lastModified":"2026-06-01T09:34:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/box-import-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}