How to use OpenClaw with WordPress
With ChatGPT you ask a question and get an answer. OpenClaw goes further: it is an AI agent that performs tasks for you. It can answer comments on your WordPress website, give you a weekly overview of your SEO, and send you the right information at the right time.
In this tutorial I set up my own AI agent, called Nova, on a VPS. I connect it to Telegram, make it safer and cheaper, and then give it access to WordPress. After that, Nova creates 52 knowledge pages, optimizes my website for SEO and AI search, writes product descriptions for a webshop and even creates city pages on an Elementor website.
What you need
- A Hostinger VPS with the OpenClaw setup
- An Anthropic account with API credits (console.anthropic.com)
- Telegram on your phone and computer
- A WordPress website where you are an administrator
Step 1: Choose where OpenClaw runs and set up a VPS
You can run OpenClaw on your own computer, but then it gets access to all your files, so I do not go that route. A Mac mini works too, but costs a few hundred dollars. I use a virtual private server: a fast computer that is on 24/7 for a few dollars per month.
- Go to ferdy.com/vps and click Claim deal.
- Pick a plan. KVM 2 is the most popular, but for this tutorial KVM 1 is more than enough.
- Use the coupon code FERDY for an extra discount and choose your period. I went with 12 months.
- Turn on daily auto backups. If something goes wrong, you can restore yesterday’s version.
- Keep the closest server location, register, fill in your billing details and pay.
Step 2: Connect an Anthropic API key and deploy
- Sign up at console.anthropic.com and choose Individual (or the company option for a business).
- Buy credits. In the video I added $50. A higher amount puts you on a higher limit of tokens per minute. With a low limit, a heavy setup task can stop halfway, and you do not want that.
- Under billing you can turn on automatic top ups. I left it off, so I can never spend more than the credits I added.
- Go to API keys, click Create key, name it “openclaw” and copy it.
- Paste the key in Hostinger and click Deploy. It took less than a minute for me.
- In Hostinger go to VPS, Manage, copy your gateway token, open OpenClaw and log in with that token.
Step 3: Give your agent a personality and connect Telegram
Type “hello” to start. The agent asks who you are, what to call it, your time zone and what vibe you want. Answer thoroughly. I told Nova to be friendly and to always explain things in a really simple way. OpenClaw then creates identity, user and soul files.
Next, you can link the agent to WhatsApp, Telegram or WeChat. I tried WhatsApp and Telegram, and Telegram was more straightforward.
- Install Telegram on your phone and link the desktop app via Settings, Devices, Link desktop device.
- Search for BotFather, create a new bot, give it a name and a username, and copy the token.
- Paste the token in OpenClaw. If it disconnects, log in again with your gateway token.
- Open your bot in Telegram, click Start and paste the pairing message back into OpenClaw.
Now I can chat with Nova right from my phone.
Step 4: Make OpenClaw safer and cheaper
Before you connect anything, secure your agent. I sent Nova two security prompts. The first one hardens the whole setup. The second one tells Nova to stop after three failed attempts. Some people have lost hundreds of dollars because an agent kept retrying something that did not work.
By default I was using Claude Opus 4.6. It is an amazing model, but quite expensive. So I sent a reduce cost prompt asking Nova to audit its own costs. It suggested using Sonnet 4.6 by default, optimizing the cron jobs and using cheaper models where possible. I agreed to all changes, and everything still worked.
Step 5: Give your agent access to WordPress
You can create a separate user for your agent, but then every comment reply shows the agent’s name. I want replies to show my name, so I use an application password.
- In WordPress go to Users and open your own profile.
- Scroll to Application Passwords, enter a name like “Nova” and click to create it. Copy the password.
- Send your agent the website URL, your username and the application password. Nova tested the connection right away.
What my AI agent did on my websites
52 knowledge pages in 40 minutes
For years I postponed filling my knowledge base. I gave Nova an existing page as an example and asked for two keywords per letter related to WordPress, making websites and AI. It proposed 52 topics, from block editor to zero click search. I said yes, and it published them in batches. It took 40 minutes. That would have taken me days.
Plugin pages and SEO optimization
Next I asked for a page for each of the top 20 most downloaded plugins, with a featured image, pros and cons, a rating and FAQs. Then I asked Nova to optimize all knowledge pages with SureRank: a focus keyword, a featured image and at least one external link. The analysis turned green.
Finally I asked Nova what my whole site needed for search and AI results. It improved my homepage title and meta description, added person and website schema, video schema for my tutorial pages and an llms.txt file. A word of caution: I gave it my admin login for this, after changing my password to a temporary one. Only do this if you feel safe doing it. You can also use my SEO and AI search prompt.
Blog posts, webshops and Elementor
- Blog post: Nova rewrote an article into an easy to read post with a featured image and excerpt. I still had to add a category and fix some layout.
- Webshop: it wrote short and long descriptions for 23 products based on their images in 22 minutes, and replaced all dummy text on the homepage. The total cost was estimated at roughly 20 to 45 cents.
- Elementor: it focused my homepage on Amsterdam and created pages for 12 other Dutch cities in about one minute. Recreating a complete website design in Elementor is not possible yet.
Remember: high quality content that offers real value is still the best thing you can add.
Revoke access, reboot and restore backups
- Revoke access: in your profile, revoke the application passwords and change any password you shared. When I did this, Nova could no longer log in.
- Reboot: in Hostinger go to VPS, Manage, and reboot the server. That often helps when something hangs.
- Restore: under backups and monitoring, choose a snapshot and click Restore. It can take up to 30 minutes.
To secure the site itself, use my WordPress security prompt.
Frequently asked questions
What is OpenClaw?
OpenClaw is an AI agent. Instead of only answering questions, it performs tasks for you, such as creating pages, answering comments or sending you updates through Telegram.
Is it safe to connect OpenClaw to WordPress?
Run it on a VPS instead of your own computer, send security instructions first, and use an application password that you can revoke at any time. Only give more access when you feel safe doing it.
Which VPS plan do I need for OpenClaw?
For everything in this tutorial, KVM 1 was more than enough. You can upgrade later from your Hostinger dashboard.
How do I keep the AI costs low?
Disable automatic top ups, tell the agent to stop after three failed attempts, and let it use a cheaper model like Sonnet by default instead of Opus.



hy! good job.