# Agent (Coordination with Coze)

## Login Coze

Login address：<https://www.coze.cn/home>

Step 1：Register a coze account and log in.

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

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

Step 2: Create an intelligent agent.

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

You can perform process orchestration on robots, such as uploading knowledge bases, setting workflows, and publishing them.

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

Step 3: Configure API authorization information.

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

Select the Oauth application and click the 'Create' button.

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

Application Type Selection \[Normal],Client Type Selection \[Service Application]

<figure><img src="/files/4RP3NEyBg3IWdWKHtHtR" alt=""><figcaption></figcaption></figure>

Authorize all content and click OK.

<figure><img src="/files/2jd8cf5xs4D7aqgDnWxo" alt=""><figcaption></figcaption></figure>

Step 4: Copy the parameters required for WhatsApp Agent.

Bot ID：Enter the intelligent agent editing page to copy the BOT ID.

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

APP ID:

<figure><img src="/files/9FhaBGsIJ5eX6GZU4vvy" alt=""><figcaption></figcaption></figure>

Public and private keys:

Attention: The private key file cannot be changed and can be directly uploaded to WhatsApp after downloading.

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

## Create An Agent

Click on New Agent

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

Enter the agent name and select the docking platform: coze， Fill in the parameters just obtained and save them.

<figure><img src="/files/7pd9V6E5P0YACqEUDVN0" alt=""><figcaption></figcaption></figure>

You can personalize the robot, such as business hours, non business hours reply language, etc.

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

## Start robot reply

Enter the Inbox and click on the robot avatar to set a dedicated robot for the current conversation. If no robot is configured for the current session, the global robot will be used by default.

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

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

Robot reply effect display:

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


---

# 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.innopaas.com/documentation/documentation-en/whatsapp-product/agent/agent-coordination-with-coze.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.
