Deploy OpenClaw (Clawdbot) on Wuying Workspace

更新时间:
复制 MD 格式

This guide explains how to quickly deploy OpenClaw on Wuying Workspace and integrate it with chatbots on IM platforms such as DingTalk, QQ, and Lark. OpenClaw is an open-source AI agent and automation platform. It deeply integrates multichannel communication with large language models (LLMs) to build customized AI assistants with persistent memory and proactive execution capabilities.

Important

OpenClaw is an open-source AI assistant. Before you use it, evaluate its security and stability, and strictly comply with the license agreement to protect your system environment and data.

Prerequisites

Accounts and authentication

Register an Alibaba Cloud account and complete individual real-name registration or enterprise real-name registration.

Download the Wuying Workspace client

  1. Go to Wuying Workspace client and download the client you need. macOS, Windows, Android, and iOS are supported.

  2. After the download is complete, use your Alibaba Cloud account to log on to Wuying Workspace Individual Edition. If you need help, see Elastic Desktop Overview.

Deploy an elastic desktop

Create an OpenClaw elastic desktop

Note

The OpenClaw solution for Wuying Workspace is based on an Ubuntu image and does not support Windows.

Purchase elastic desktop

  1. Open the Wuying Workspace client, log on to the Individual Edition, and click Wuying Market.

  2. On the Quick Purchase tab, follow the on-screen instructions to purchase the OpenClaw (Clawdbot) one-click deployment package. The package includes a monthly subscription to the Gold Plus plan for Wuying Workspace Individual Edition and 2,000 Wuying Credits.

    Note

    Wuying Credits are the standard units used to measure resource consumption over time for elastic desktops and cloud gaming. For an elastic desktop with a 4-core CPU and 8 GiB of memory, 2,000 Wuying Credits provide 500 hours of runtime. For more information, see Wuying Credits.

Change image

Important

When you change the image, all software and personal data on the system disk and data disks of the original elastic desktop are erased and cannot be recovered. Proceed with caution.

  1. Log on to the Individual Edition in the Wuying Workspace client.

    image

  2. After you log on to the Wuying Workspace client, click the Manage button on the card for the target elastic desktop.

    image

  3. On the management page, select the Image tab, and then click Change Image.

  4. Click Select Image. On the Select Image page, click Add image by using an image ID.

  5. Enter the image IDOpenClaw (case-sensitive), and click OK.

  6. Select the added OpenClaw image and click OK.

  7. On the Change Image page, click OK to Shut Down and Change. After the image update is complete, you can connect to the elastic desktop to begin configuration.

Configure 24/7 operation

  • To prevent unnecessary consumption of Wuying Credits if you forget to put the elastic desktop into hibernation or shut it down, the Scheduled Shutdown/Hibernation After Disconnection feature is enabled by default. The elastic desktop automatically enters the hibernation state 10 minutes after you disconnect from it. An elastic desktop in hibernation does not consume Wuying Credits.

  • An elastic desktop in the hibernation state is inaccessible. Consequently, if you access OpenClaw through a third-party IM channel, such as DingTalk, Lark, or QQ, the chatbot may not respond correctly. To prevent this issue, you can disable the Scheduled Shutdown/Hibernation After Disconnection feature to allow OpenClaw to run 24/7.

Note

You can configure the policy only after the elastic desktop configuration is complete and its status changes to running.

  1. Click the Manage button on the card for the target elastic desktop.

  2. Select the Policy tab and turn off the Scheduled Shutdown/Hibernation After Disconnection switch.

Configure OpenClaw

  1. In the Individual Edition client, click Elastic Desktops in the left-side navigation pane.

  2. Click OpenClaw App Configuration on the card for the target elastic desktop.

  3. On the Model Configuration tab, click Add Model.

  4. On the Add Model Configuration page, complete the following configuration:

    Note
    • The following steps use the Model Studio (Bailian) model Qwen3.5 Plus as an example. To use other models, select the corresponding service provider and enter the model name and API key.

    • After you configure a Model Studio (Bailian) model, conversations with OpenClaw incur fees based on the number of tokens used. You can subscribe to a Token Plan for Model Studio (Bailian) to enjoy a fixed monthly fee and a monthly usage quota, which helps you avoid unexpected costs.

    • Service provider: Model Studio (Bailian).

    • Model name: Qwen3.5 Plus.

    • API key: Click Go to Configure API Key, navigate to the Model Studio (Bailian) console, and then click Create API Key to create and copy an API key.

  5. Click Add and Enable and wait for OpenClaw to restart.

The Wuying Workspace package fee does not include charges for Model Studio (Bailian). Conversations with OpenClaw using a Model Studio (Bailian) model are billed separately based on token usage.

Billing formula for Model Studio (Bailian): Fee = (Number of tokens used / 1,000) × Unit price. For the unit price of each model, see the Model Studio (Bailian) model list.

To set up spending alerts, go to the Billing Management console and add an alert rule for model inference in Model Studio (Bailian) on the High Spending Alerts page.

To avoid accidental charges, go to the Model Studio (Bailian) console to delete the API key, or enable the feature to stop service when your free tier is exhausted on the Model Usage page.

Try OpenClaw

Important

Do not click the upgrade button in the OpenClaw console or use commands to upgrade the OpenClaw version. The version of OpenClaw provided in the Wuying Workspace Individual Edition has been specifically adapted. Upgrading it independently may make the service unavailable.

Chat with OpenClaw

After the model is configured, you can chat directly with OpenClaw or issue tasks and commands within the elastic desktop.

  1. On the elastic desktop, double-click the OpenClaw icon.

  2. On the Chat tab, start a conversation with OpenClaw to verify that the environment and model are correctly deployed.

    Note
    • To change the display language of the OpenClaw console to Chinese, select Overview from the left-side navigation pane, and in the Gateway Access section, set language to Simplified Chinese.

    • To change the display language of the operating system, see Change the system language to Chinese.

Integrate with DingTalk

In the channel settings, you can integrate with your preferred IM platform to issue tasks and commands to OpenClaw through chat. The following example shows how to integrate with DingTalk. For more integration options, see Integrate more channels.

Integrate a DingTalk app

  1. Log on to the DingTalk Open Platform.

    Note
    • You must select an organization for which you have developer permissions. If needed, you can obtain developer permissions for an organization first.

    • If you do not have a suitable organization, you can scan the QR code below with the DingTalk mobile app to quickly create one.image

  2. In the top navigation bar, click Application Development. On the DingTalk Apps page, click Create App.

  3. After the application is created, select Add Features from the left-side navigation pane. In the Bot section on the right, click Add.

  4. On the bot configuration page, enable Bot Configuration. For Message Receiving Mode, select Stream mode, and then click Publish to complete the bot configuration.

  5. In the left-side navigation pane, select Version Management and Release, and then click Create New Version. After completing the configuration, click Save to publish the version.

  6. In the left-side navigation pane, select Credentials and Basic Information. View and record the Client ID and Client Secret.

  7. In the Wuying Workspace client, click OpenClaw App Configuration on the card for the target elastic desktop and select IM Channel Configuration.

  8. Click Add Channel and select DingTalk as the service provider.

  9. Enter the Client ID and Client Secret of your DingTalk app, and then click Add Now.

Chat with the DingTalk chatbot

  1. Open DingTalk and enter the name of the DingTalk app you created in the search box at the top.

  2. In the list of functions, click the chatbot you just added to open the chat dialog.

  3. Enter a question or command in the dialog box to chat with the DingTalk chatbot.

Next steps

Change the system language to Chinese

To change the system language of the elastic desktop to Chinese, follow these steps:

  1. At the bottom-left of the elastic desktop screen, click Show Applications. In the search box at the top, enter Terminal and open it.

  2. In the Terminal, run the following commands:

    sudo echo "export LANG=zh_CN.UTF-8" >> ~/.bashrc
    sudo echo "export LANGUAGE=zh_CN:zh" >> ~/.bashrc
    echo "export LANG=zh_CN.UTF-8" | sudo tee -a /etc/profile
    echo "export LANGUAGE=zh_CN:zh" | sudo tee -a /etc/profile
    source ~/.bashrc
    source /etc/profile
  3. Return to the Wuying Workspace client. On the card for the target elastic desktop, click the Power button, and then click Restart.

  4. After the restart, connect to the elastic desktop and accept the changes to related names.

Integrate more channels

Note
  • These integration steps support quick setup. You can scan a QR code for rapid configuration.

  • If the channel you want to integrate is not available in the IM channel configuration, you can ask Clawbot directly in a chat to perform the integration.

Integration method

Overview

References

Lark integration

  • Create an app and provide its credentials to OpenClaw on the elastic desktop.

  • Configure the Lark app and chatbot.

  • Obtain the pairing code for the Lark chatbot and approve it in OpenClaw.

Lark integration

QQ integration

  • Create a QQ chatbot.

  • Provide its credentials to OpenClaw on the elastic desktop.

  • Configure the sandbox environment for the QQ chatbot.

QQ integration

WeCom integration

  • Create a WeCom smart chatbot.

  • Use the Bot ID and Secret to securely integrate with OpenClaw on Wuying Workspace.

WeCom integration

Subscribe to Bailian Token Plan

You can subscribe to a Token Plan for Model Studio (Bailian) to enjoy a fixed monthly fee and a monthly usage quota, which helps you avoid unexpected costs.

  1. Visit the Token Plan Team Edition purchase page. Select a Seat Type and Quantity, and then complete the subscription.

  2. Go to the Token Plan Management Platform. On the Overview page, generate and copy an API key.

  3. Go to the Wuying Workspace client and click OpenClaw App Configuration on the card for the target elastic desktop.

  4. On the Model Configuration tab, click Add Model.

  5. For Service Provider, select Bailian Token Plan, and paste the API key that you copied in Step 2.

  6. After you confirm that the information is correct, click Add and Enable.

    Note

    If you add multiple models, OpenClaw uses only one of them (the model status is displayed as In Use). To switch to a different model, click the edit icon, and then click Switch and Enable.

FAQ

Impact of image change on disk and subscription

Changing the image does not affect the system disk/data disk size or the subscription plan.

Error: "Firefox can't connect to the server at 127.0.0.1:18789"

Run the following commands in the Terminal to fix the issue:

openclaw gateway restart
openclaw doctor --fix

Access OpenClaw via public IP

You cannot access services on the elastic desktop from a local browser because Wuying Workspace does not expose its service ports to the internet. To access the OpenClaw service, first connect to the elastic desktop by using the Wuying Workspace client, and then use a browser within the desktop.

For more questions, see OpenClaw FAQs.