↓Skip to main content
Alemasone

How to use OpenClaw: installation and safe first steps

Set up OpenClaw, connect a model and try a task on sample files, with checks on permissions, remote access and the cost of the model service.

by 9 min read
The OpenClaw dashboard open in a browser after the first launch
On this page
OpenClaw is an assistant that you run on your own infrastructure and connect to models and tools. The best way to start is to try it from the local dashboard with a sample folder, before you trust it with accounts, messages or personal documents.

The program and the model are not the same thing. OpenClaw coordinates the request and the tools; the configured model interprets the text. If you choose a remote provider, part of the data the task needs is sent to that service: running the gateway on your PC does not automatically make everything local.

Prepare and install OpenClaw, choosing the model and environment #

Set up a test environment #

You need a supported system, the Node.js version required by the current documentation and compatible access to a model. What the assistant costs also depends on the provider you choose: an API key can generate usage charges.

Create a folder called, for example, prova-openclaw, with two made-up text files. Don’t put passwords, work documents or copies of your personal folder in it. For a first evaluation you can also use a dedicated system account.

Check Node from the terminal:

node --version

If it doesn’t meet the requirements in the official guide, update the runtime first. On Windows the documentation also offers the native Windows Hub app; CLI and WSL2 paths are available too, but you don’t need to set up every alternative.

Decide which data must stay separate #

Before installing, define the scope of the test: working folder, model account and the tools you want to make available. A test environment with made-up material lets you watch how it behaves without mistaking a good summary for proof that it can handle confidential documents.

If you use a remote model, check that provider’s terms and settings. If you want a local model, check instead that the integration is supported and that your computer has enough resources. “Open source”, “runs on my PC” and “all data stays on my PC” describe different properties: the actual configuration decides where the request goes.

Start OpenClaw #

At the time of review, the documented quick path starts with:

npx openclaw@latest

The command can download and run the package, so check that you typed the name correctly. When it starts, choose Quick start for the quick path or Custom setup if you want to control the full configuration. Automatic detection may offer credentials that are already available: always check which account you are authorizing.

Configure the model and open the dashboard shown by the setup. In this mode the gateway stays in the terminal, and closing it stops the service. For a first test that’s handy, because you know exactly when the assistant is running.

On first launch, pay attention to the credentials offered automatically. An existing login might belong to a work account or to a project with separate billing. Don’t accept it just because it saves you entering a key: check the identity, permissions and terms of use of the service you choose.

Make a note of the installation method and the runtime you used. If you later need to update or troubleshoot an error, knowing whether you’re using the native app, the CLI or a gateway in WSL2 is more useful than a screenshot of the dashboard alone. For the first test, complete one path instead of installing every variant at once.

To try a model on your own computer, the guide to LM Studio and local models explains the role of the server and its API. Then check the provider configuration in the OpenClaw documentation: a reachable endpoint does not by itself guarantee every agent feature.

OpenClaw dashboard on first launch with the model and the test folder

Run a first task on files with a result you can check #

Put a file called appunti.txt in the test folder, with three tasks and a made-up deadline. Ask:

Read only appunti.txt in the test folder. In your reply, make a list of the tasks and deadlines. Don’t modify any files and don’t use additional external services.

Compare the result with the file. Then ask it to propose the content of attivita.md without saving it. Only after checking it, allow it to create the new file in the test folder.

Going step by step helps you see the difference between a text reply and an action actually carried out. A wrong summary can be fixed; a command that overwrites a document has different consequences.

Define a task with success criteria #

Write tasks in the test file that differ enough for you to check the result: one with an explicit deadline, one without a date, and a note that isn’t a task. Ask the assistant to tell these categories apart without inventing missing deadlines. That way you assess understanding and how it handles uncertainty, not just its ability to rephrase sentences.

A task can specify format, location and limits: “Propose a table with task, deadline and open question; use only this file; don’t open other paths.” This doesn’t remove every possible error, but it makes it easier to check whether the action matches what you asked for.

Move from proposal to writing #

After reading the result, allow it to create a new file with a different name from the original. Open it in a separate editor and check content, location and encoding. A message saying the job is done is not a check of the file actually created.

Also try an incomplete case: remove a date from the notes and see whether it’s flagged as missing. A useful assistant should make the doubt visible instead of producing a table that looks perfect but is wrong. Only after these checks should you move on to a folder with more documents.

Configure permissions, the gateway and messaging channels #

Permissions and gateway access #

The official security guide describes conservative settings for a normal installation on the host, including local access and checks on channel senders. Containers expose things differently: don’t copy a Docker configuration assuming it’s equivalent to the local test.

Run the official check:

openclaw security audit

Read the results before installing integrations. Don’t forward router ports to the gateway and don’t publish the dashboard so you can open it from your phone. Remote access requires authentication and a configuration that takes the network into account.

Instructions found in web pages or documents can also be hostile: a text you want summarized should never become permission to run commands. Keep the available tools limited, especially when the assistant reads external content.

Keep reading, writing and running commands separate #

Reading a folder, changing it and running commands are permissions with different effects. You don’t need to allow any command to run just to get a summary. To reorganize files, you can ask first for a list of moves and a test on copies, without introducing deletions straight away.

When you add plugins or tools, check the code and the declared capabilities as far as your use requires. A convenient feature may bring access to the network, credentials or local programs. Remove the tools the test project doesn’t need: a smaller scope makes the behavior easier to observe.

Connect Telegram and other channels #

Add a single channel after checking the dashboard. Telegram needs a bot and the configuration described in the channel guide; follow the pairing process and limit the authorized senders. The guide to the Telegram chat ID explains the different identifiers, but it doesn’t replace OpenClaw’s access controls.

Don’t share the bot token in conversations and don’t automatically authorize every member of a group. An assistant you can reach in chat may have access to tools far more powerful than the chat itself.

A chat channel makes the assistant easier to reach, but it brings in new senders and new content. Start from an authorized private conversation, complete the pairing and try a harmless command. Then check that an unauthorized sender can’t start the same task.

For groups and teams, decide who can request actions and who can read the results. A summary meant for one person must not end up in a group just because both are connected to the gateway. Use made-up documents to check the routing before bringing in real data.

Manage the service, costs and installation problems #

Once the test works, the documentation provides these commands for the service and the dashboard:

openclaw gateway install
openclaw gateway status
openclaw dashboard

If something doesn’t respond, check the service, the model authentication and network availability, in that order. openclaw doctor helps you read the state of the installation. Don’t share full logs without reviewing them: they may contain paths or data from your tasks.

Check restarts and continuity #

After installing the service, restart the environment and check the status, the dashboard and a simple task. Don’t assume the service has the same access to files or variables as the terminal you used for the test. Different paths and accounts can explain errors that look like model problems.

Keep usage under control #

For a repeatable test, note the model you chose, the type of task and roughly how much material it handles. Check the provider’s dashboard and set up any monitoring tools or limits available. Don’t assume that a subscription to an app automatically includes any API usage.

If cost or time keeps growing without a useful result, stop the task and make it smaller. A loop of attempts on a failing tool needs to be diagnosed, not left running in the hope that the model will fix a credentials problem on its own.

Before an update, keep the configuration and the instructions to get going again, protecting your secrets. Afterwards, run the same small task you used at the start: it’s a concrete check that the gateway, the model and the tools still work together.

Frequently asked questions #

Can OpenClaw be used without subscriptions? #

The project and the model service have separate costs. Check the access method you chose; a local model needs a compatible environment and resources.

Do I have to give it access to the whole computer? #

No. Start from a limited folder and add only the permissions required by the tasks you’ve decided to hand over.

Should I connect email, browser and personal folders straight away? #

It’s better to add one integration at a time, after defining its purpose and checking access and results. If something changes, you’ll know which new capability introduced the behavior you need to check.

Read next