---
title: 'OpenClaw Tutorial'
source: 'https://youtube.com/watch?v=dgbdyxe435E'
video_id: 'dgbdyxe435E'
date: 2026-07-31
duration_sec: 1479
---

# OpenClaw Tutorial

> Source: [OpenClaw Tutorial](https://youtube.com/watch?v=dgbdyxe435E)

## Summary

OpenClaw is an AI-powered digital employee that can execute tasks end-to-end, from reading and replying to emails to scheduling meetings. This beginner-friendly tutorial demonstrates how to deploy OpenClaw on a Hostinger VPS, connect it to Telegram, Gmail, Google Drive, and Google Calendar, and build two real-world automations: auto-responding to sponsorship emails and scheduling meetings. By the end, viewers have a functional digital assistant accessible from their phone.

### Key Points

- **OpenClaw is a digital employee** [00:02] — Unlike a chatbot that only answers questions, OpenClaw can read and respond to emails, schedule meetings, connect to tools, and execute tasks end-to-end, acting as a digital employee.
- **Why VPS beats local setup** [00:59] — Running OpenClaw locally requires a separate Mac mini or laptop and complex Linux setup, while a VPS offers one-click deployment, lower cost, and a disposable environment that can be killed and restarted if something goes wrong.
- **Deploying on Hostinger** [02:36] — The tutorial uses Hostinger's KVM 2 VPS plan, with a 20% discount via a coupon code from the video description. You can skip API credits if you already have Google Cloud or OpenAI keys.
- **Initial bootstrap of ClawBuddy** [04:40] — First launch asks for identity, personality, vibe, and an emoji. OpenClaw creates a soul.md file with baseline behavior like 'genuinely helpful without fluff', which you can edit or accept.
- **Setting up Telegram via BotFather** [07:08] — To interact with OpenClaw on your phone, create a bot in Telegram with /newbot, choose a unique username, get the access token, and paste it into OpenClaw. Then approve the pairing request to chat.
- **Connecting Gmail with app password** [12:04] — OpenClaw guides you through enabling two-factor authentication and generating an app password so it can read and send emails. It verifies the connection by pulling recent messages.
- **Connecting Google Drive with OAuth** [14:09] — You need to create an OAuth client ID in Google Cloud Console (desktop app), download the JSON, paste it into OpenClaw, and authorize access through a broken 127.0.0.0 URL workaround.
- **Automating sponsorship email replies** [18:50] — With a single Telegram prompt, OpenClaw read emails, declined an EdTech offer, and sent the media kit PDF from Google Drive to Amazon—without explicit file instructions, using its own reasoning.
- **Scheduling daily cron jobs** [19:59] — You can ask OpenClaw to run the sponsorship workflow daily at 4 p.m. It creates a cron job (visible in the OpenClaw dashboard) and you can edit or disable it anytime.
- **Autonomous meeting scheduling** [23:28] — After connecting Google Calendar, a Telegram command like 'schedule a 30-minute meeting with Karandeep tomorrow between 9-12 for Boston project' results in OpenClaw finding a common slot and booking it automatically.

### Conclusion

OpenClaw transforms AI from a passive chatbot into an autonomous digital employee capable of handling real-world tasks like email triage and meeting scheduling. With a VPS deployment and phone-based Telegram interface, it becomes a reliable, always-on assistant that saves significant time and effort.

## Transcript

lately. People call it a digital employee. While ChatGPT can answer your questions, it's just a chatbot, Open Claw can perform tasks for you. For example, it can read email, respond to them intelligently, schedule meetings,
connect to your tools, and execute tasks end-to-end. In short, instead of using AI as a chatbot, you're using AI as a digital employee here. In this beginner-friendly tutorial, I will show you how you can set up Open Claw using a
very easy method, and we will build two real-world automations. The first one is automatically responding to sponsorship emails, and the second one is scheduling meetings. By the end of this video, you would have built your first digital
employee. All right, let's get started. Let's set up Open Claw now. There are two ways to set it up. The first one is using local machine, second one is VPS, virtual private server. We're going to use VPS because of several benefits it
offers over the local setup. If you're doing local setup, you have to get a separate Mac mini or a Windows laptop to run Open Claw. You can't run it on your regular laptop because it will be a security nightmare. So, you're buying
this separate machine [music] just to run it, and that might be just to run it, and that might be costly. If you're using VPS, the cost uh is much lower compared to the dedicated machine. The second benefit is on local
machine, setup is actually very complex and hard because you need to be aware about Linux, and you have to set up so many [music] things. Whereas in VPS, uh you just have one click, and through one click, everything is set up for you. In
China, companies like Baidu, Tencent, etc., they were having special fairs, and you know, special events where people will come with their laptop, and their technical staff will help it install. So, that is that local setup
option, number one option that we discussed. And it was so difficult that somebody will install it for you. Whereas in case of VPS, you go to cloud server basically. You are running this virtual private server on a cloud in a
virtual private server on a cloud in a container environment. And this where you just click it [music] and everything is set up for you. The third benefit is VPS server is disposable.
What it means is [music] if something goes wrong, you can kill the entire environment and you can [music] start fresh. If you are on Mac Mini, doing that will require a lot of work. We will be using Hostinger for
setting this up and we want to thank Hostinger for partnering with us. They Hostinger for partnering with us. They are giving 20% discount on their VPS plan when you use the coupon code that we have mentioned in the video
description below. So, click on the link in the video description where you will in the video description where you will come here. Then just say get started. come here. Then just say get started. I'm going to use this KVM 2 plan because
it gives you the best price to performance ratio. And also, using the coupon code that you have, you get 20% off on 12 months or above plan.
plan, uh and if you enter the coupon code that we have given, you will get the discount. Now, here I'm going to
unselect this. If you have your API keys from Google Cloud, OpenAI, etc., you don't need this. But, let's say if you want to buy some API credits, then you can keep it selected. So, let's unselect
this, okay? Enter the coupon code here and hit continue. Upon hitting continue, it is asking me for login. I'm going to use Google. So, provide your billing address, etc. Hit continue, provide payment, and uh move on to the next
step. Okay? Congrats. So, it's all set up. And we will get started. Now, see here, it is showing you the gateway token, which you can Uh it's okay even if you don't copy here. Uh and here, you're going to
here. Uh and here, you're going to provide your API keys. All right. And this is how it looks. Your project is being deployed, so wait until uh this is done. After some time, it will show this as running. To open
it, just click on this, where it will ask for gateway token. So, gateway token is something you can copy from here.
something like hi, etc., it will ask you for this initial bootstrap question. Who for this initial bootstrap question. Who am I? Who are you? etc. Okay? So, let's uh do that initial setup, and then you can do your work. So, I will say
I am the world. You are Claw Buddy. Then it is asking what kind of creature I am. I will say of creature I am. I will say you are a friendly AI. Vibe
you are a friendly AI. Vibe is equal to warm and funny. And then, pick your own signature emoji. So, this is part of the initial setup, so that the Claw Buddy knows how it should respond, what should
be its personality, and so on. It's just a part of that bootstrapping process. The next step is it is figuring out its soul. So, there is a soul.md file, which uh sets my baseline to be genuinely helpful
uh without fluff. And these default settings look good. If you want to add any specific setting, any specific boundaries, for example, let's say you are using this for as an uh personal assistant and you want it to schedule
appointments, etc., but you don't want it to do some other work, then you can Here, this is our first time, we'll just say uh go with default or or we'll just say I am good with default settings. Let's go to the next step. The next step
is you have to configure WhatsApp, Telegram, etc., to interact with OpenClaw. Now, the way it works is OpenClaw is like your digital assistant.
It can do work for you where you are on the go. Let's say I am waiting at a bus the go. Let's say I am waiting at a bus station or airport and I want OpenClaw to do some work, I can take my phone and on WhatsApp or Telegram, whatever you
have configured, you can give it some work that, okay, do this uh work, uh set up an appointment, or review this report, or run this code and generate this Excel file, and it will do that thing for you.
So, from that standpoint, WhatsApp and Telegram is useful. We are going to set up Telegram. So, I will just say it has given, so we'll follow these steps to set up Telegram. The first
step, open Telegram and search for BotFather. So, you go here, search for BotFather. You'll find this. You'll see start icon here, click on that. And just say {slash} new bot, okay? So,
{slash} new bot. So, this will create a new bot in our Telegram environment. What are we going to call it? We can call it ClawBuddy. And then
let's choose a username for your bot, okay? So, teddy_bot, so let's say okay? So, teddy_bot, so let's say clawbuddy _bot, that's the username. clawbuddy _bot, that's the username. The username is already taken. DP
The username is already taken. DP clawbuddy _bot, looks like it has to be clawbuddy _bot, looks like it has to be unique. All right, it created a new bot and it has given me this access token. So, just copy this token.
Okay, so we are going to copy this token copy this token and we can copy-paste the token. Here is and we can copy-paste the token. Here is the HTTP API token.
The good thing about OpenClaw is that you talk as if you're talking to some token. Oh, do this Google Calendar setup." and it will do it all for you. All right, so our Telegram is set up. Now, we can say hi in Telegram.
Now, we can say hi in Telegram. So, let's go here and at this place you So, let's go here and at this place you can open the bot here. This is the clawbuddy bot. Click on start and here I will just say
happened but I see this So, ask the bot owner to approve with this. So, I'll just copy this
and run this here. It is saying I have approved the pairing request. Now, I'll just say hi here. You see? Now, your Telegram and OpenClaw is connected. Now, you can interact with
OpenClaw via Telegram and you can say things like, "Okay, who invented Kriya Yoga?" I'm just treating once again like a chatbot just for just to verify setup and everything. Uh we'll do the real work
later, but see, when I type in a question, the question is actually going here and you are getting this answer. See, you are getting the answer in Telegram. So, whether you're using
Telegram or WhatsApp, it's like you have this OpenCloak connected in the backend, and you can utilize the power of and you can utilize the power of OpenCloak, power of LLMs right from your
WhatsApp or Telegram. Now begins the fun part. We are going to work on our first use case, which is automating the sponsorship emails. So, as a content creator, as a YouTuber, I get emails for sponsorships from
Uh here I have these two emails, okay? And usually what I do is when I get an email like this where a company wants to do sponsorship for their uh let's say course or a bootcamp, usually I say no
because I myself have a course platform, okay? So, I myself have this uh platform where we have our bootcamps, courses, and so on. And it is
it is a conflict of interest. So, usually I reply and I say, "Not interested." But when I get an email like this from a company like Amazon, etc., where they want uh to uh sponsor the product
which can be useful to my audience, then usually I will say, "Yes." Uh of course, I will have my own selection criteria, but I'm open to this kind of collaboration request where uh they're talking about a product which
is useful to uh the audience that I'm serving to, okay? So, my workflow is I look at the email, I read the content, and then I do that matching in my brain.
We can automate this whole thing in OpenCloak, okay? Now, see, for Amazon, usually they're asking for the commercials. So, what I would do is I would go to my OneDrive, Google Drive, etc. I will have many folders. Then I
will go to my media kit. You know, they ask for media kit which contains the commercials and so on. And I will attach this kind of PDF. So usually sponsors will ask for the demographics details. So I have that.
They ask for the commercials, which is okay, how much you charge for mid-roll integration, long-form sponsorship, and so on. So I have all these details here, okay? So we're going to automate this whole flow
in OpenClaw. So the first thing we need to do is connect to our Gmail. So we can say, "Help me connect to Gmail." Now it will give all
the details in the response. So the first step is you go to myaccount.google.com. You go to security and you enable You go to security and you enable two-factor authentication. So two-step
verification you need to enable. All right, so I added my phone number and authenticator app, and this is done now. Okay, so we are done with this step. Now search for app passwords. And then we need to create that
password. So let's do this. So app passwords here. And you can just say OpenClaw. So this is the password I'm going to copy paste. Okay, so I'm specifying my
email. See email and 16-character password. So let's go. Look at this. Setup is done and it is able to read some uh emails. See? Uh you have a few
recent Google security alerts, collaboration with Amazon. See? Google security alerts, collaboration with Amazon, and so on. So it's able to connect and you can do things with your email now. Now, the
last step in this setup is to connect with Google Drive for same email ID because when somebody ask for the commercials,
to Google Drive and get this PDF. So, let's do this. I followed all these steps, okay, for the drive setup. And eventually,
I will get to this stage where I would have created client ID. So, click on download JSON. Okay, it's a common sense steps, folks. Just follow it. And I clicked on the download JSON here.
And this is the JSON file that I received and I will give that to OpenClaw. Okay, so essentially, just copy-paste the content of
that JSON file. And by the way, here it asks for the desktop app. I selected web because I remember when I was doing the setup once, I have to do that. So, I selected web app. If there is a problem, we'll go ahead and do the desktop app
configuration once again. So, now it says, "Please click this link to authorize my Google access." And it is saying, "Don't panic when it says this. Just look at the URL. When it fails, copy the entire URL and
authorization code." So, it knows all the hacks, actually, looks like. So, I have given that here. Okay, it looks like it needs the desktop app. So, I will go to API and services and
I will go to API and services and credentials. Let's do that. API and services. Go to credentials. And this is what we created, right? So, I'm going to edit this. And let me see if I can change it
to desktop from here or do I need to create a new one? create a new one? I think I might just create a new one. So, let's delete this. So, this is deleted.
And OAuth client ID, you need to create that, right? So, OAuth client ID. that, right? So, OAuth client ID. And here, specify desktop app. Create. Download JSON.
Download JSON. This is the new one. Here is the JSON for desktop client. So, folks, I know that uh setting things up can get little lengthy, but that's
okay. Once you have set up everything, once you have connected with all the tools, Gmail, Google Drive, Outlook, whatever you want to use, then you'll after you don't have to worry, it will just work and it will reduce a lot of
uh time and effort for you. Okay, let's click on it again. Okay, it's saying you don't have to worry about it. Just copy paste. uh production status. Okay, so publish app.
So, I have to do publish app, looks like. So, let's click on okay here. Okay, I think in the audience, now you can say publish app. Confirm. So, now this is in production. It is in production now.
production. It is in production now. Okay, after that, I clicked on this. And I'm getting this access. Okay.
And here, you're giving OpenClaw an access to all of this. So, I'll just say select all, continue, and I got the site can't be I will just say this, right? After you click continue, paste that broken
This is so smart, see? Broken that 127, whatever URL, uh you have to paste it here. Perfect. Now, it is connected to your Google Drive. I can ask questions, uh list the folders
Google Drive. Look at this. It is working. So, I have all these folders, media kit, YouTube content, courses, and so on. You can see this, see? Media kit, YouTube content,
this, see? Media kit, YouTube content, etc. So, it took some retries, but if it as if you're talking to an expert, as if you're talking to a human, and it will help, okay? So, at this point, our connection to
connection to uh Gmail, uh Google Drive is all done. Now, I'm going to give it some command, okay? Some task to perform. So, I can go to my Telegram, and in the Telegram, I will
say that, okay, once again, uh let's assume I'm having a walk in my community, and I want to do some work. Usually, I have to come back to laptop, do the work, but here, in Telegram, I will say,
"Read the emails today for sponsorship offers from EdTech company, decline for any other offer, send them a media kit, okay?" So, I'm going to send it here, and you can see that message gets replicated here, and my OpenClaw is
working on this request now. Wonderful. It replied to both the emails. So, now, I will go to the inbox of the sender, okay? So, of course, I have one inbox. Usually, it will be two inboxes, one for Amazon, one
will be two inboxes, one for Amazon, one for Simply On EdTech. So, let's see what is the response it gave. So, see? here, "Hey Peter, thanks for reaching out. Unfortunately, I must
politely decline this offer since I run a ad tech company." Amazing, right? And then, for Amazon, let's look at it. So, see, "Thank you for getting in I have attached my media kit. It It actually attached the media kit." Now,
here is the interesting part. What I said in the prompt is this, "For any offers, respond by attaching media kit. You can find media kit in Google Drive." I did not say that, "In Google Drive, go to media kit folder. There is
this PDF file." I did not say all of that. As if I have a human assistant, and if I tell them that, "Hey, go to drive," they will use their brain, and that file." Open Clo did the same thing, folks. So,
it automated the entire workflow, okay? So, you will see the emails here again in sent. You can also set up a daily job. You can say that, "For this sponsorship email
workflow, set up this at 4:00 p.m. every day," day," uh which will do the same thing. And I'm typing in the Open Clo chat here, but usually you'll you'll use
everything. And look at the tool calls, also. See, it is doing the tool call for cron job. So, cron is a way to schedule jobs in a
Linux system. So, it is setting that up, see? this is what it is. And then, if you look at the tool output, it will say, "Yes," you know, whatever is the output. And if you look
at the tool call that you got previously, see, you you should look at it so that you understand what it is doing. See, it was calling exact tool Then, here, it was calling again exact tool. Okay, exact tool. It called cron,
and so on. Now, when I look at cron jobs here, see daily sponsorship auto reply. here, see daily sponsorship auto reply. This particular job is enabled, okay? And you can edit, by the way. You can also manually add the job if if you want
to do it, but here uh we did it through the chat. So, see this cron job is enabled right now. And it looks beautiful. See, every day And it is going to do the work. So, now I don't have to worry about it, okay?
So, this is one solid workflow, which is the real problem that I face in my life. automated. Now, let's take a look at this use case where I want Open Claw to schedule meetings for me.
Here is my Google Calendar. These are all real meetings, by the way. And I want Open Claw to schedule meetings via Telegram interface. So, let's say if I'm traveling, I'm waiting somewhere, and if I want to schedule a
meeting with one of my contacts, let's say I have all these contacts right now, and I want to schedule a meeting for some project in Boston with Karan on Wednesday. Now, Karan is in India time zone, so usually 9:00
to 12:00 uh works for him. So, I I want to ask uh Open Claw that, "Okay, find a 30-minute common slot and book a meeting with him." And it should be able to do it. So, for that we have to do some setup. So, I'm going to ask Open Claw to
guide me on what kind of setup is needed to integrate Google Calendar. All right, here it says to integrate Google Calendar, I need to click on this link. So, let's go here. It is similar to the Google Drive authentication that we did
previously. All right. So, when you get this 127.0.0 All right. So, when you get this 127.0.0 broken link, you can provide it to Open Claw chat. There was one more step, which was to uh enable Google Calendar
API uh by going here. I did that and eventually it pulled all the meetings. Look at this. When I say it's tomorrow's meeting, it knows today's this particular date, okay? And for
tomorrow I have these three meetings and it is pulling up that information correctly. Now let me go to my Telegram and schedule a meeting. So I want to have a discussion with Karan tomorrow on some project. So
with Karan tomorrow on some project. So I will say uh schedule a meeting with Karandeep Karandeep tomorrow
uh for a discussion on Boston project. Pick any 30-minute time between 9:00 to 12:00 noon. This meeting I'm scheduling, let's say when I'm away from my laptop, I don't have access to Google Calendar,
etc. And I'm commanding it as if I have a digital assistant and I want to have a discussion. Now you saw, I think if you were watching the this one Isn't this amazing? You see this
Isn't this amazing? You see this project? This particular meeting it came up. All right, so folks, this is another use case of OpenClaw where you can manage your meeting scheduling, etc. in a autonomous fashion using ClawBuddy.
That's it for this tutorial. If you have any question, post in the comment box any question, post in the comment box below. Thank you very much for watching.
