# LINE Messenger連携

## LINE Messenger連携 <a href="#integrate-line-messenger" id="integrate-line-messenger"></a>

1. \[設定]＞\[外部サービス連携]に移動し、\[LINE]を選択します。\ <br>

   <figure><img src="https://guide.allganize.ai/wp-content/uploads/2022/01/LINE.png" alt=""><figcaption></figcaption></figure>
2. [\[LINE Developers\]](https://developers.line.biz/)にログインし、\[プロバイダー]をクリックします。
3. プロバイダー名を入力し、「選択」または「作成」をクリックします。
4. メッセージングAPIを作成します。\
   \ <br>

   <figure><img src="https://guide.allganize.ai/wp-content/uploads/2022/01/LINE2.png" alt=""><figcaption></figcaption></figure>
5. アプリ名、アプリの説明、メールアドレス、その他の必要な情報を入力し、利用規約のチェックボックスをオンにして、\[作成]をクリックします。
6. 作成したプロバイダーをクリックして表示します。 チャネル基本設定セクションの基本情報から”チャンネルID”と”チャンネルシークレット”をコピーし、それらをAlliダッシュボード＞設定＞外部サービス連携＞ LINEにコピーします。
7. LINE Developersダッシュボードの**Messaging API**設定セクションより、”**チャンネルアクセストークン**”を生成するための\[発行ボタン]をクリックし、それをAlliダッシュボード＞設定＞外部サービス連携 > LINEにコピーします。\
   \ <br>

   <figure><img src="https://guide.allganize.ai/wp-content/uploads/2022/01/LINE3.png" alt=""><figcaption></figcaption></figure>
8. LINE Developers 同セクションで、\[**Webhook設定**]の\[編集]をクリックします。\
   \ <br>

   <figure><img src="https://guide.allganize.ai/wp-content/uploads/2022/01/LINE4.png" alt=""><figcaption></figcaption></figure>
9. Alliダッシュボードから、**Webhook URL**をコピーし、LINE DevelopersダッシュボードのWebhook設定に貼り付け、\[更新]をクリックします。**Webhooksの利用は\[オン]**&#x306B;してください。
10. **\[LINE公式アカウント機能]**＞応答メッセージ＞編集をクリックし、自動返信メッセージを無効にします。\
    \ <br>

    <figure><img src="https://guide.allganize.ai/wp-content/uploads/2022/01/LINE5.png" alt=""><figcaption></figcaption></figure>
11. LINEアプリで、**友達**追加＞QRコードを押し、LINE DevelopersダッシュボードMessaging API設定内&#x306E;**\[QRコード」**&#x3092;スキャンします。\
    \
    \ <br>

    <figure><img src="https://guide.allganize.ai/wp-content/uploads/2022/01/LINE6.png" alt=""><figcaption></figcaption></figure>
12. 最後に、お使いの端末にポップアップするアプリを追加します。
13. 以上で設定は完了です。Alliと会話を始めてみましょう！


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.allganize.ai/alliyzgaido/settings/third-party-integration/line-messenger-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
