---
title: Quickstart
description: Create a Klex Bot in the Cloud or run it on your own computer.
related:
  - /cloud/hosted-vs-local
  - /bot/concepts/brain-and-computers
---

Create a Klex Bot to work alongside you. Klex recommends Cloud hosting for most users; you can also run a Bot on your own computer.

<a id="creating-your-bot"></a>


**Cloud-hosted**

## Cloud-hosted setup

1. Sign in to [Klex Cloud](https://cloud.klex.bot) and select **New bot**.
2. Give your Bot a job, or choose a suggested one, and customize its name and appearance.
3. Select **Create bot in cloud**.
4. Review its character traits, then continue to **Models & Computer**.
5. Connect an AI provider and choose the models the Bot should use, or import a model setup from another Bot. Finish setup once the Bot connects.
6. Open the Bot's chat to get started.

You can connect the apps and computers your Bot needs for its work. Supported MCP servers can also deliver messages and app events that prompt the Bot to work. See [MCP and Klex Bots](/bot/concepts/mcp) for details.

**Self-hosted**

<a id="installation"></a>

## Self-hosted setup

1. Sign in to [Klex Cloud](https://cloud.klex.bot), select **New bot**, and choose its job and appearance.
2. Select **Or run it on your own computer**, then **Set up on your computer**. Copy the complete command provided by Klex Cloud, paste it into a terminal on the computer where the Bot should run, and execute it.
3. Follow the setup instructions to configure the Bot's character and models.

Keep the Bot running on your computer so it can work. To restart it, run the following command in a terminal and select your Bot:

```sh
klex
```

### Run without Cloud

Cloud enrollment is optional. To configure a Bot directly in the Klex app, follow the [standalone setup guide](/bot/guides/standalone-setup).



If the Bot does not respond, see [troubleshooting](/bot/guides/observability#if-a-bot-does-not-respond).


