> For the complete documentation index, see [llms.txt](https://docs.omnichat.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.omnichat.ai/features/omni-ai-jia-gou-gong-neng/raccoon-ai-agent.md).

# Raccoon AI Agent

{% hint style="info" %}
此功能為加購項目，歡迎聯繫您的團隊顧問或線上來訊詢問我們唷！
{% endhint %}

## 前置作業

1. 請先完成 Raccoon AI 串接，詳細說明請參考 [串接 Raccoon AI 頁面](/features/tong-xun-qu-dao/di-san-fang-ying-yong/chuan-jie-raccoon-ai.md)。
2. 請向 Raccoon AI 索取「Header Auth」資訊。
3. 請到 Omnichat 後台 > 開發者中心 > Open API Token 頁面新增一組 Token。\
   詳細操作說明請見 [Open API Token 管理說明頁面](/features/kai-fa-zhe-zhong-xin/open-api-token-guan-li.md)。

## 步驟一：編輯 Agent 資訊

請到 Omnichat 後台 > Omni AI > 第三方 AI Agent > Raccoon AI，點擊右上角的「...」按鈕，再點擊「編輯Agent」按鈕。

<figure><img src="/files/0XySFy0ABUmsvBUKOXaW" alt=""><figcaption></figcaption></figure>

## 步驟二

請點擊「立即設定」按鈕。

<figure><img src="/files/Dsd4ouKffzjxlDzJVfQN" alt=""><figcaption></figcaption></figure>

## 步驟三

請輸入 Omnichat 後台產生的 Open API Token 後，點擊「綁定設定」按鈕。

<figure><img src="/files/dHBdEOhteMTx5JwVoppq" alt=""><figcaption></figcaption></figure>

若找不到 Open API Token 的資訊，可在 Omnichat 後台 > 開發者中心 > Open API Token 頁面找到。\
若尚未設定的話，請參考 [Open API Token 管理說明頁面](/features/kai-fa-zhe-zhong-xin/open-api-token-guan-li.md) 的步驟進行設定。

<figure><img src="/files/bAd0DamraPNYuV8bnBgk" alt=""><figcaption></figcaption></figure>

## 步驟四

完成輸入 Open API Token 後，請點擊「＋新增URL」的按鈕。

<figure><img src="/files/fNAjzasuspoEXt7Hlt3B" alt=""><figcaption></figcaption></figure>

## 步驟五

輸入目前安裝 Omnichat 網頁對話插件的網頁連結，再點擊「新增並綁定」按鈕。

<figure><img src="/files/qTpHzf8TuKo4YgxNby2N" alt=""><figcaption></figcaption></figure>

若不清楚網頁對話插件的連結，可在 Omnichat 後台 > 通訊渠道 > 網頁對話插件 > 安裝對話插件 頁面找到喔！

<figure><img src="/files/clyFvzr325CxsltTQlPV" alt=""><figcaption></figcaption></figure>

## 步驟六：編輯 Webhook 資訊

請到 Omnichat 後台 > Omni AI > 第三方 AI Agent > Raccoon AI，點擊右上角的「...」按鈕，再點擊「編輯Webhook」按鈕。

<figure><img src="/files/hNhPk2XF8zZTYFdZWVhU" alt=""><figcaption></figcaption></figure>

## 步驟七

請輸入從 Raccoon AI 得到的 Header Auth，若沒有這個資訊，需請 Raccoon AI 協助提供。

<figure><img src="/files/knQWesgfR5LWa3vpXK8s" alt=""><figcaption></figcaption></figure>

上述步驟都完成後，Raccoon AI Agent 的基礎設定就完成了！\
接下來就只需要到機器人頁面設定 Raccoon AI Agent 卡片，就可以讓顧客與 AI Agent 互動囉！

## 步驟八

請到 Omnichat 後台 > 進階自動化功能 > 聊天機器人頁面，新增一張「AI Agent卡片」，再選取「Raccoon AI」，後續就可以再利用這張機器人模組卡片來跟顧客互動囉！

<figure><img src="/files/qwxAskyacpSJkGlkD9Ew" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.omnichat.ai/features/omni-ai-jia-gou-gong-neng/raccoon-ai-agent.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
