提供: Bright Pattern Documentation
< 5.2:Line-integration-guide‎ | IntegrationConfiguration
Revision as of 13:31, 28 July 2018 by Marina (talk | contribs) (Created page with "ご注意: トラブルシューティングができるには、 '''確認''ボタンを使ってWebhookが正しく設定されているか確認してください (統合...")
移動先: 案内検索
• English
• 5.19 • 5.2 • 5.3 • 5.8

統合構成

==ステップ1:ビジネスのLINE @アカウントにサインインし、メMessaging APIを有効にします。 

==

LINEをビジネスで利用するには、登録済みのLINE @アカウントが必要です。

LINE@ アカウントをお持ちでない場合, アカウントを作成し、Messaging APIを有効にしてください:

  1. LINEビジネスセンター > サービスへ進み, サービスメニュから Messaging API を選択してください。
  2. Messaging APIを利用するを選択してください。
  3. LINE@ アカウントの情報を入力し、確定してください。
  4. 確定ページの最下部にある LINE@ MANAGER ボタンをクリックすると、 LINE@ Managerボット設定ページへ移動します。
  5. ボット設定ページの APIを有効にするをクリックしてください。


LINE@ アカウントを既にお持ちの場合, LINE@ アカウントのMessaging APIを有効にしてください:

  1. LINE ビジネスセンター へ進み、LINE@ アカウントページをご確認ください。
  2. ページの最下部にある Messaging APIを利用する ボタンをクリックし、ご利用条件に同意してから OKをクリックしてください。
  3. 確定ページの最下部にあるLINE@ MANAGER ボタンをクリックすると, LINE@ Manager ボット設定ページへ移動します。
  4. ボット設定 ページの APIを有効にするをクリックしてください。

上記の手順は、 LINE Developersページでもご覧いただけます。


ステップ2: Webhookを許可する

LINE@ アカウントのMessaging APIを有効にしてから、Webhookを有効にする必要があります。Enabling webhooks for your LINE@ account on the LINE@ ManagerにおけるLINE@ アカウントのWebhookを有効にすると、 LINE ユーザーからのメッセージが受信できます。

  1. LINE@ Manager のサイドメニュより 設定 > ボット設定へ進んでください。
  2. リクエストの設定の “Webhookを利用する” において許可する をクリックしてください。LINEユーザからのメッセージが受信できるため、必ず上記の設定を行ってください。

LINEは以下のオプション設定を提供します:

  • ボットをグループチャットに参加させる: Bright Pattern LINE インテグレーションは現在、グループチャットをサポートしていません。 参加させるを選択しても、ボットがグループチャットに参加できませんので、ご了承ください。
  • 自動応答メッセージ: このオプションは、LINEユーザがインテグレーションアカウントシナリオからのチャットメッセージのみを受信できるように、 許可しないに設定するか、削除しなければなりません 。
  • グリーティングメッセージ: このオプションは、LINEユーザに送信されるカスタマイズされたグリーティングメッセージがシナリオでのみ設定できるように、 許可しないに設定するか、削除しなければなりません 。


==ステップ3:チャネルアクセストークンを取得し、チャネルコンソールにおいてWebhook URLを設定します。 ==お客様のボットアプリケーションはWebhookのペイロードを受信できるためのwebhook URLと共にAPIを呼び出すためのチャンネルアクセストークンを必要とします。チャネルアクセストークンは、LINEのチャネルコンソールから発行されます。 webhook URLは、Webhookのペイロードが送信されるボットアプリケーションのサーバーのエンドポイントです。

  1. LINE ビジネスセンターのLINE@ アカウントページへ進んでください。
  2. Messaging APIセクションの LINE Developers ボタンをクリックし、チャネルコンソールへアクセスしてください。
  3. APIにアクセスできるためのチャネルアクセストークンを発行するには、 “チャネルアクセストークン” の発行するをクリックしてください。
  4. 編集するをクリックし、チャネル専用の webhook URL を設定してください。


ご注意: トラブルシューティングができるには、 '確認ボタンを使ってWebhookが正しく設定されているか確認してください (統合アカウントを追加してから、ステップ5を参照してください)

The webhook URL must refer to the BP client web server used by the contact center in the following form:

https://<host name>/clientweb/line/webhook/<url-encoded access token>

The host name is the host name of the BP client web server used by your contact center.

Step 4: Create a new integration account in Contact Center Administrator.

  1. Log in as Admin to the Contact Center Administrator application.
  2. Navigate to Configuration > Integration Accounts.
  3. Click the Add "+" button to add a new account.
  4. In the Create integration account window that appears, select Messenger and click OK.


Create a new Messenger integration account


Step 5: Specify LINE integration account properties.

Using the credentials for your LINE@ account, enter values for the following screen properties. (If you do not know your credentials, ask your system administrator.)

  • Name - The name of your integration account (this does not need to be your LINE@ account name)
  • Type - For this integration account, select LINE as the type of integration.
  • Token - The access token for your LINE@ account
  • Test Connection - This button tests the credentials and confirms whether the connection is valid.

Click Apply to save your changes.


LINE integration account properties


Your integration account is now configured for LINE. Next, you can do a real test of your connection by setting up a messenger chat scenario and responding to chat interactions from within the Agent Desktop application.



< Previous | Next >
< 前へ | 次へ >