提供: Bright Pattern Documentation
< 5.19:Sfdc-integration-guide‎ | Classic‎ | EnablingAccesstoSFDCDatafromScenarios
Revision as of 08:14, 4 October 2019 by Marina (talk | contribs) (Created page with "新しく設定されたパラメータのアップデートが完了するまでに数分かかります。Salesforceがこの作業を終了するまでに10分間待って...")
移動先: 案内検索
• English
• 5.19 • 5.3 • 5.8

Salesforceデータへアクセスするためシナリオを有効にします

接続アプリケーションは、APIを使ってBright Pattern コンタクトセンターなどのアプリケーションをSalesforceと統合し、Bright PatternシナリオがCRUD(生成、読み取り、更新、削除)機能を使ってSalesforceデータオブジェクトにアクセス・対話できるようにします。

サーバー側の統合は、Salesforce REST API (http://wiki.developerforce.com/page/REST_API)を通じてSalesforce ウェブサービスを使って実行されます。 Bright Pattern コンタクトセンターは、 ウェブサーバーの OAuth 認証フローを使って Salesforceでの認証をうけます。 リフレッシュトークン は、アクセストークンの取得と更新に使われます。

この記事では次のことについて説明します:

  • 新しい接続アプリケーションを生成する方法
  • API アクセスを有効にする方法
  • 統合アカウントのプロパティに必要なコンシューマキーとコンシューマシークレットを取得する方法
  • 接続アプリケーションにアクセスできるユーザーの役割を決定する方法


ステップ1: 新しい接続アプリケーションを生成する

  1. Salesforce Classicでは、 構成 > 生成 > アプリケーションへ移動します。

  2. アプリケーションリストの下にある 接続アプリケーション新規をクリックします。


新しいアプリケーションの生成


ステップ2: 接続アプリケーションを設定します

新しい接続アプリケーションのページで 以下を設定します:

基本情報

  • 接続アプリケーションの名前 - 未使用の名前
  • API 名 - 未使用の名前
  • 連絡先メールアドレス - ご利用のメールアドレス


Sfdc-integration-guide-image13.png


API (OAuth設定を有効にする)

  • OAuth設定を有効にする - チェックボックスの選択
  • 利用可能なOAuth スコープ - 以下を選択します:
    • データをアクセス。・管理する (api)
    • フルアクセス(full)
    • いつでもリクエストを実行する (refresh_token, offline_access)


Sfdc-integration-guide-step2.png


重要: 最後に"保存" を忘れないように!

新しく設定されたパラメータのアップデートが完了するまでに数分かかります。Salesforceがこの作業を終了するまでに10分間待ってください。

Step 3: Get the consumer key and consumer secret

  1. In App Setup > Apps > Connected Apps, select and view details of the connected app you just created.
  2. Copy the Consumer key and Consumer secret directly from the connected app.

    SFDC-API-OAuthb-54.png


  3. Save these for later use, when you paste them into your integration account properties.

Step 4: Update the security profile to include the new connected app

  1. In Salesforce, from Administer > Manage Users > Profiles, edit the System Administrator security profile.

    Click "Edit" for the System Administrator security profile


  2. In the Connected App Access section, select the checkbox for the connected app created earlier (e.g., "LemurBooksApp" in this example). This grants users with the system administrator role access to your connected app.

    Connected App Access


  3. Click Save.
    < 前へ | 次へ >