提供: Bright Pattern Documentation
• English
Salesforceデータへアクセスするためシナリオを有効にします
接続アプリケーションは、APIを使ってBright Pattern コンタクトセンターなどのアプリケーションをSalesforceと統合し、Bright PatternシナリオがCRUD(生成、読み取り、更新、削除)機能を使ってSalesforceデータオブジェクトにアクセス・対話できるようにします。
サーバー側の統合は、Salesforce REST API (http://wiki.developerforce.com/page/REST_API)を通じてSalesforce ウェブサービスを使って実行されます。 Bright Pattern コンタクトセンターは、 Web Server OAuth 認証フローを使って Salesforceでの認証をうけます。 リフレッシュトークン は、アクセストークンの取得と更新に使われます。
この記事では次のことについて説明します:
- 新しい接続アプリケーションを生成する方法
- API アクセスを有効にする方法
- 統合アカウントのプロパティに必要なコンシューマキーとコンシューマシークレットを取得する方法
- 接続アプリケーションにアクセスできるユーザーの役割を決定する方法
ステップ1: 新しい接続アプリケーションを生成する
- Salesforce Classicでは、 構成 > 生成 > アプリケーションへ移動します。
- アプリケーションリストの下にある 接続アプリケーションで 新規をクリックします。
ステップ2: 接続アプリケーションを設定します
新しい接続アプリケーションのページで 以下を設定します:
基本情報
- 接続アプリケーションの名前 - 未使用の名前
- API 名 - 未使用の名前
- Contact Email - Your contact email address
API (Enable OAuth Settings)
- Enable OAuth Settings - Select checkbox
- Callback URL - Set https://<your-brightpattern-domain>/admin/salesforcecallback.html (e.g., "https://example.brightpattern.com/admin/salesforcecallback.html")
- Available OAuth Scopes - Select the following:
- Access and manage your data (api)
- Full access (full)
- Perform requests on your behalf at any time (refresh_token, offline_access)
Important: Click "Save" when you are done!
Updates to these parameters take a few minutes to propagate through the system--wait 10 minutes while Salesforce updates these settings internally.
Step 3: Get the consumer key and consumer secret
- In App Setup > Apps > Connected Apps, select and view details of the connected app you just created.
- Copy the Consumer key and Consumer secret directly from the connected app.
- 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
- In Salesforce, from Administer > Manage Users > Profiles, edit the System Administrator security profile.
- 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.
- Click Save.
< 前へ | 次へ >


