One-click OpenClaw deployment on Elastic Desktop Service

更新时间:
复制 MD 格式

This topic describes how to quickly deploy OpenClaw on Elastic Desktop Service and integrate it with bots on IM platforms such as DingTalk, QQ, and Lark. OpenClaw is an open-source AI agent and automation platform that deeply integrates multi-channel communication with large language models (LLMs). This allows you to build custom AI assistants that have persistent memory and can perform tasks proactively.

Important

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

Prerequisites

Account and authentication

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

Client download

  1. Go to the download page for the Elastic Desktop Service client and download the version you need. Clients are available for macOS, Windows, Android, and iOS.

  2. After the download is complete, log in to the Personal Edition of Elastic Desktop Service with your Alibaba Cloud account. For more information, see Cloud Computer Usage Overview.

Deploy a cloud computer

Create an OpenClaw cloud computer

Note

The OpenClaw solution for Elastic Desktop Service is based on an Ubuntu image and does not support Windows.

Purchase a cloud computer

  1. Open the Elastic Desktop Service client, log in to the Personal Edition, and click Wuying Store.

  2. On the Quick Purchase tab, purchase the One-click Deployment for OpenClaw (Clawdbot) package. This package includes a Gold Monthly Card for Elastic Desktop Service Personal Edition and 2,000 Wuying Beans.

    Note

    Wuying Beans are the standard unit for measuring the resource consumption of cloud computers and cloud gaming. For a cloud computer with a 4-core CPU and 8 GiB of memory, 2,000 Wuying Beans can support 500 hours of runtime. For more information, see Wuying Beans.

Change image

Important

Changing the image erases all software and personal data on the system disk or data disk of the original cloud computer. This action cannot be undone. Proceed with caution.

  1. Log in to the Personal Edition from the Elastic Desktop Service client.

    image

  2. After you log in, find the target cloud computer card and click the Manage button.

    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 Favorite Image with Code.

  5. Enter the image code OpenClaw (case-sensitive) and click OK.

  6. Select the favorited OpenClaw image and click OK.

  7. On the Change Image page, click OK, Shut Down and Change. Wait for the image to update before you connect to the cloud computer to begin configuration.

Configure 24/7 operation

  • By default, the Auto Shutdown/Sleep on Disconnection feature is enabled to prevent unexpected Wuying Beans consumption if you forget to shut down or hibernate your cloud computer. The cloud computer automatically enters hibernation after 10 minutes of disconnection. A cloud computer in hibernation does not consume Wuying Beans.

  • When the cloud computer is in hibernation, the OpenClaw service deployed on it cannot be accessed. If you access OpenClaw through a third-party IM channel (such as DingTalk, Lark, or QQ), hibernation may prevent the bot from returning messages correctly. To avoid this, you can disable the Auto Shutdown/Sleep on Disconnection feature to allow OpenClaw to run 24/7.

Note

Wait for the cloud computer's status to change to Running before you configure policies.

  1. Click the Manage button on the target cloud computer card.

  2. Select the Policy tab and turn off the Auto Shutdown/Sleep on Disconnection switch.

Configure OpenClaw

  1. In the Personal Edition client, click Cloud Computer in the left-side navigation pane.

  2. Click OpenClaw Application Configuration on the target cloud computer card.

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

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

    Note
    • The following steps use the Qwen3.5 Plus model from Alibaba Cloud Model Studio as an example. To use a different model, select the corresponding Service Provider and enter the Model Name and API Key.

    • When you chat with OpenClaw after you configure an Alibaba Cloud Model Studio model, charges apply based on the number of tokens used. You can subscribe to an Alibaba Cloud Model Studio Token Plan to get a fixed monthly fee and a monthly quota, and avoid unexpected costs.

    • Service Provider: Alibaba Cloud Model Studio.

    • Model Name: Qwen3.5 Plus.

    • API Key: Click Go to Configure API Key below to go to the Model Studio console. Click Create API Key and copy the key.

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

Try out OpenClaw

Important

The OpenClaw version in Elastic Desktop Service Personal Edition is adapted for compatibility. Upgrading OpenClaw separately may render the service unavailable.

Chat with OpenClaw

After you configure the model, you can chat with OpenClaw directly or assign tasks and commands within the cloud computer.

  1. Double-click the OpenClaw icon on the cloud computer desktop.

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

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

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

DingTalk integration

In the channel settings, you can select and connect to various IM platforms. This allows you to send tasks and commands to OpenClaw through these platforms. The following example shows how to integrate with DingTalk. For more integration options, see More Channel Integrations.

DingTalk app integration

  1. Log in to the DingTalk Open Platform.

    Note
    • You must select an organization for which you have developer permissions or select an organization and then get developer permissions.

    • 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. Click App Development in the top navigation bar. On the DingTalk App page, click Create App.

  3. After you create the app, select Add App Capabilities from the left-side navigation pane. Under Bot 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. Select Version Management and Publication from the left-side navigation pane and click Create New Version. After you complete the configuration, click Save at the bottom to publish the version.

  6. Select Credentials and Basic Information from the left-side navigation pane. View and record the Client ID and Client Secret.

  7. In the Elastic Desktop Service client, click OpenClaw Application Configuration on the target cloud computer card and select the IM Channel Configuration tab.

  8. Click Add Channel, and for Service Provider, select DingTalk.

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

Chat with the DingTalk bot

  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 bot you just added to start a chat.

  3. Enter a question or command in the chat box to interact with the DingTalk bot.

Next steps

Change the system language to Chinese

To change the system language of the cloud computer to Chinese, follow these steps:

  1. At the bottom left of the cloud computer 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 Elastic Desktop Service client. Click the Power button on the target cloud computer card, and then click Restart.

  4. After the restart, connect to the cloud computer and accept the related name changes.

More channel integrations

Note
  • These integration steps support quick setup. You can scan QR codes to configure them.

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

Method

Description

Reference

Lark integration

  • Create an app and connect it to OpenClaw on your cloud computer by using security credentials.

  • Configure the Lark app and bot.

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

Lark integration

QQ integration

  • Create a QQ bot.

  • Connect it to OpenClaw on your cloud computer by using security credentials.

  • Configure the QQ bot sandbox environment.

QQ integration

WeChat Work integration

  • Create a WeChat Work smart bot.

  • Securely connect it to OpenClaw on Elastic Desktop Service by using the Bot ID and Secret.

WeChat Work integration

Subscribe to the Model Studio Token Plan

Subscribing to an Alibaba Cloud Model Studio Token Plan provides a monthly token quota for a fixed fee and helps prevent unexpected costs.

  1. Go to the Token Plan Team Edition Purchase Page, select the Seat Type and Quantity, and complete your subscription.

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

  3. Go to the Elastic Desktop Service client and click OpenClaw Application Configuration on the target cloud computer card.

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

  5. For Service Provider, select Model Studio Token Plan and enter the API Key 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 the one with the In Use status. To switch to a different model, click the edit icon for that model and then click Switch and Enable.

FAQ

Effects of changing the image

Changing the image does not affect the size of the system disk or data disk, or your subscription plan.

Firefox connection error

Try running the following commands in the Terminal to fix the issue:

openclaw gateway restart
openclaw doctor --fix

Remote access to OpenClaw

Elastic Desktop Service does not expose ports to the public internet, so you cannot access services on the cloud computer from a local browser. To access OpenClaw, connect to the cloud computer with the Elastic Desktop Service client and use the cloud computer's browser.

For more questions, see the OpenClaw FAQ.