CRM Analytics で Salesforce 外部コネクタを使用するために、データ取り込み先となる Salesforce 組織に対する
OAuth 2.0 認証の接続設定について説明します。
Summer'27 に SOAP API login() が廃止されることに伴い、既存の外部接続コネクタ設定を変更する場合は、
本ナレッジをご参考ください。
概要:
コネクタ接続先組織: OAuth 2.0認証を使用した外部クライアントアプリケーションを作成します。(ステップ1、ステップ2)
コネクタ接続元組織: CRM Analyticsにて、Salesforce外部コネクタを設定します。(ステップ3)
[設定] > (クイック検索) > [外部クライアントアプリケーションマネージャー] に移動します。
[新規外部クライアントアプリケーション] をクリックします。
接続アプリケーション名 / API参照名 / 取引先責任者 メール: 適宜 入力
[API (OAuth 設定の有効化)] 欄にて以下を入力後、[作成] をクリックします。
[OAuth設定の有効化]: チェックオン
「アプリケーション設定」
[コールバックURL]: https://login.salesforce.com/services/oauth2/callback
[OAuth範囲]: 「API を使用してユーザーデータを管理 (api)」、「Analytics REST API リソースにアクセス (wave_api)」を追加
「フローの有効化」
[クライアントログイン情報フローを有効化]: チェックオン
※ポップアップが表示されたら、[OK] をクリックします。
「セキュリティ」
[サポートされる認証フローに Proof Key for Code Exchange (PKCE) 拡張を要求]: チェックオフ
続いて「ポリシー」タブの [編集] をクリックします。
「OAuth ポリシー」> 「OAuth フローおよび外部クライアントアプリケーションの機能強化」欄で以下を指定し、保存します。
[クライアントログイン情報フローを有効化]: チェックオン
[(ユーザー名) として実行]: 実行ユーザーのユーザー名(メールアドレス形式)
※実行ユーザーのプロファイルで「ログイン IP アドレスの制限」が設定されていると、ステップ3のコネクタ経由の接続に際し、エラーが発生する場合があります。プロファイルに「ログイン IP アドレスの制限」を設けている実行ユーザーを指定する場合は、Salesforce の IP アドレスをプロファイルにすべて追加してください。
続いて「設定」タブ をクリックします。
「OAuth 設定」メニュー > [コンシューマー鍵と秘密] をクリックします。
ID検証が表示される場合は認証を行います。
認証後に表示される「コンシューマー鍵」と「コンシューマーの秘密」を取得し、テキストに控えます。
※ステップ 3 でコネクタの設定時に使用します。
[設定] > (クイック検索) > [私のドメイン] に移動します。
「現在の [私のドメイン] の URL」欄に表示されている値をテキストに控えます。
※ステップ 3 でコネクタの設定時に使用します。
[Analytics Studio] から [データマネージャー] へ移動します。
[接続] > [新しい接続] をクリックします。
[Salesforce 外部コネクタ] を選択し、[次へ] をクリックします。
以下の接続情報を入力します。
[接続名] / [API 参照名] / [説明]: 任意
[Authentication Type]: OAuth
[Client Id]: ※ステップ 1 で取得したコンシューマー鍵※
[Client Secret]: ※ステップ 1 で取得したコンシューマーの秘密※
[API Type]: BULKV2
[Service URL]: デフォルトのまま(表示例: https://login.salesforce.com/services/Soap/u/62.0)
[Domain URL]: ※ステップ 2 で取得した [私のドメイン] の URL ※ (形式: https://*.my.salesforce.com)
[保存してテスト] をクリックし、接続を確認します。
同期したいオブジェクトおよび項目にチェックを入れ、[保存] をクリックします。
オブジェクト一覧を更新し、追加されたコネクタ欄にて、対象オブジェクトの [▼] から [データ同期を実行] より 完全同期を行います。
しばらく時間をおいた後、[ジョブ監視] にてジョブが正常に完了していることを確認します。
Salesforce 外部接続
https://help.salesforce.com/s/articleView?id=analytics.bi_integrate_connectors_salesforce_external_settings.htm&type=5&language=ja
外部クライアントアプリケーションの作成
https://help.salesforce.com/s/articleView?id=xcloud.create_a_local_external_client_app.htm&type=5&language=ja
005299108

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.