{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Salesforce Dmp Krux Export Integration CLI","description":"Salesforce DMP Krux ExportをTD Toolbelt CLIでエクスポートする方法を、オンデマンドとスケジュールされたクエリジョブのステップバイステップの手順と構成で説明します。","siteUrl":"https://docs.treasure.ai","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]},"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":"salesforce-dmp-krux-export-integration-cli","__idx":0},"children":["Salesforce Dmp Krux Export Integration CLI"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"td-commandのインストール","__idx":1},"children":["'td' Commandのインストール"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://toolbelt.treasuredata.com/"},"children":["TD Toolbelt"]},"をインストールします。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"オンデマンドジョブの場合","__idx":2},"children":["オンデマンドジョブの場合"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td query"]},"コマンドの",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["-r"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--result"]},"オプションを使用して、Salesforce DMP結果出力先を追加します:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td query -d mydb \\\n-w 'SELECT user_id, td_segment FROM source_table' \\\n--type presto \\\n-r '{\"type\":\"krux_dmp\", \"access_key_id\":\"xxx\", \"secret_access_key\":\"xxx\", \"client_name\": \"name\", \"export_type\":\"first_party_segment\"}'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["access_key_id"]},"、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["secret_access_key、client_name"]},"などの一部のパラメータは、Treasure コンソールのデータコネクタで使用されるものと同じパラメータです。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"スケジュールされたジョブの場合","__idx":3},"children":["スケジュールされたジョブの場合"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td sched:create"]},"コマンドの",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["-r"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--result"]},"オプションを使用して、Salesforce DMP結果出力先を追加します:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td sched:create every_6_mins \"*/6 * * * *\" \\\n-d mydb -w 'SELECT user_id, td_segment FROM source_table' \\\n--type presto \\\n-r '{\"type\":\"krux_dmp\", \"access_key_id\":\"xxx\", \"secret_access_key\":\"xxx\", \"client_name\": \"name\", \"export_type\":\"first_party_segment\"}'\n","lang":"bash"},"children":[]}]},"headings":[{"value":"Salesforce Dmp Krux Export Integration CLI","id":"salesforce-dmp-krux-export-integration-cli","depth":1},{"value":"'td' Commandのインストール","id":"td-commandのインストール","depth":2},{"value":"オンデマンドジョブの場合","id":"オンデマンドジョブの場合","depth":2},{"value":"スケジュールされたジョブの場合","id":"スケジュールされたジョブの場合","depth":2}],"frontmatter":{"seo":{"title":"Salesforce Dmp Krux Export Integration CLI","description":"Salesforce DMP Krux ExportをTD Toolbelt CLIでエクスポートする方法を、オンデマンドとスケジュールされたクエリジョブのステップバイステップの手順と構成で説明します。"}},"lastModified":"2026-06-17T07:22:53.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/salesforce-dmp-krux-export-integration-cli","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}