All Products
Search
Document Center

PolarDB:Integrate WeCom with PolarDB Agent Express

Last Updated:Jun 08, 2026

PolarDB Agent Express supports interaction with its AI assistant through a WeCom bot. After you create a bot and obtain its credentials from the WeCom Admin console, you can configure a channel in PolarDB Agent Express to enable direct conversations with the AI assistant within the WeCom app.

Process overview

Integrating a WeCom bot with PolarDB Agent Express involves two main steps:

  1. Create a WeCom bot and obtain credentials: In the WeCom Admin console, create a bot in API mode and obtain its Bot ID and Secret.

  2. Configure the PolarDB Agent Express channel: On the PolarDB Agent Express management page, enable the WeCom channel and enter the credentials you obtained.

Create a WeCom bot and obtain credentials

  1. Log on to the WeCom Admin console. In the left-side navigation pane, choose Security & Management > Management Tools > Create.

  2. Click Create Bot, and in the dialog box that appears, select Create Manually.

  3. On the bot creation page, scroll to the bottom of the right-side panel and switch to Create in API Mode.

  4. Configure the following settings:

    • Bot Name: Enter a custom name for your bot.

    • Visible Scope: Specify which members can use this bot.

    • Connection Method: You must select Use Long Link.

    • Get Credential: Click the button. The system generates a Bot ID and a Secret. Immediately copy and securely store these values.

  5. Configure other permissions as needed, and then click Save at the bottom of the page.

Configure the PolarDB Agent Express channel

To establish the connection, configure the WeCom bot credentials in PolarDB Agent Express.

  1. Log on to the PolarDB console and navigate to the management page for your PolarDB Agent Express application.

  2. In the Channel Configuration section, enable the WeCom channel, enter the Bot App Key and App Secret, and then click Save.

    Important

    Saving the configuration triggers PolarDB Agent Express to refresh and restart. This process takes about 2 minutes.

Using the bot

Once configured, members of your organization can find and use the bot in WeCom.

  • Path 1: In the WeCom client, go to Workbench > Smart Office > Smart Bot, find the bot you created, and click Use.

  • Path 2: Go to Contacts > Smart Bot, find the bot you created in the list, and click Send Message.

In the chat window, send questions directly to the PolarDB Agent Express AI assistant.