# Agent Publish

## 2. Robot Publish

* It is possible to publish the robot to two categories and three types of channels for External Integration Can Access/Public Access/Public Access and Configuration.

### 2.1 Publish to “External Integration Can Access (No Review)

Click “Publish” to choose to publish the robot to external integration can access (currently support web sharing, nails, API calls, JS embedded, WhatsApp 5 ways), later will access more end channels.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FaxqSPqvJreecgGC7GBQY%2Fimage.png?alt=media&#x26;token=8f41a5bc-d5a1-4ab4-8396-6d6b165f3a36" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FYOK3zjgNFi7XWv5rJHxv%2Fimage.png?alt=media&#x26;token=f1cbf7de-e0eb-4d3c-a362-43c06cfebd23" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FeukDNDfr49lrNlA01zWF%2Fimage.png?alt=media&#x26;token=40d20528-9829-4d4b-a76c-574c81c6b6f0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FhGTdsiyQjcEhASEVfU39%2Fimage.png?alt=media&#x26;token=f8cc73e5-5487-4a7f-9c59-59430bdf1f41" alt=""><figcaption></figcaption></figure>

#### 2.1.1 Web Sharing

* Webpage: You can choose "Normal Mode/Customer Service Model". The difference between the two is that you can manually or customize the conversation segmentation, and the customer service mode supports users to evaluate the conversation.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FepCQPcHKDFcCbs2uJiJB%2Fimage.png?alt=media&#x26;token=08d57c0b-4893-4d07-95b5-b5b28511f785" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FgFBK96uofWgapYNQWXYb%2Fimage.png?alt=media&#x26;token=a7cf7414-0237-4701-87e7-b190124b98e1" alt=""><figcaption></figcaption></figure>

#### 2.1.2 IM System

* -Currently, it supports DingTalk. Click “Configure” to bind the DingTalk bot to the bot created by Agent Studio via the DingTalk bot Client ID and Client Secret, so as to realize the effect that you can ask questions to the bot directly on the DingTalk terminal.
* Group Chat Context Configuration: If there is a need for Group Chat, it can be configured for multiple sessions.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FpZqCmoRB1hrqqi3RaC7e%2Fimage.png?alt=media&#x26;token=506f955f-ce45-4806-9bb1-cdad296554af" alt=""><figcaption></figcaption></figure>

#### 2.1.3 API calls

* For API calls, click "Interface Key" to obtain the robot Token and unique identifier. Access the robot directly through API calls. You can view the "Interface Documentation" above.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FrfVSREM1mghcehcEbjhJ%2Fimage.png?alt=media&#x26;token=c826e3b0-32b8-41ed-adf1-816dfb995d2b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FktgBEFxryPrlxB91Hc8z%2Fimage.png?alt=media&#x26;token=097acae2-7aa4-4c9c-8feb-3c3764b3d772" alt=""><figcaption></figcaption></figure>

#### 2.1.4 Website Embedding

* Embed the robot into a website, supporting two embedding forms, suitable for front-end technical colleagues to operate.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2F8Darh9Vv09mAzOaB1CBw%2Fimage.png?alt=media&#x26;token=7e33b574-41c0-42ae-819f-c93c78685427" alt=""><figcaption></figcaption></figure>

#### 2.1.5 Whatsapp access is available

* Supports hosting a specified bot on a WhatsApp account, which can automatically reply to users' messages. Currently supports single chat, group chat (@bot will reply). Users need to contact the product consultant to open the permission before using this function.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FJaP4DZdeyilVUjHpTvOt%2Fimage.png?alt=media&#x26;token=9d001b44-e2f8-4872-8646-fffcc0f6049f" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FvzUndH8gk9oZeo2oAVIf%2Fimage.png?alt=media&#x26;token=09a28942-83a2-4483-b78a-9629b1a8863b" alt=""><figcaption></figcaption></figure>

### 2.2 Post to Agent Square (Public Access and Configuration) (Backend Review required)

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FMxFWXusESQgSrS8mIrQk%2Fimage.png?alt=media&#x26;token=72117feb-8773-4a55-99e7-a6fb095dcba6" alt=""><figcaption></figcaption></figure>

Publishers can publish bots to public pages within the platform (visible to all users within the platform) in the following two forms:

* Public access: other users within the platform can use the bot published by the publisher, but it cannot be copied;
* Public access and Configuration: it can be copied. Other users within the platform can rename publicly configured bots for their own use;

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FecBhCUOpJGvYUJU4EPmx%2Fimage.png?alt=media&#x26;token=d2bd6aa6-9dcc-46f7-bd39-6a11f9bff060" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FtfAQmz6GbEnun91YSyTl%2Fimage.png?alt=media&#x26;token=415eb2bc-a5d0-45f4-9235-4d16601c4361" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FxUbn2e1TIPDbillbbU7p%2Fimage.png?alt=media&#x26;token=8757ce9f-d2f9-4fb2-87c9-dc9d7bd9b5ff" alt=""><figcaption></figcaption></figure>

### 2.3 Agent Status

Add the status of agents to differentiate their published status. Published agents need to be published again after editing to be effective to the public.
