# Getting Started

## What is the bot builder?

The bot builder is a visual editor for creating bots without writing code. A single scenario can run on several channels at once — Telegram, a web widget on your site, and, depending on your plan, WhatsApp, Instagram, Email, and SMS. You create **nodes** (commands) and link them using buttons, conditions, and transitions.

Each node represents a separate scenario: a sequence of blocks that the bot executes one after another.

## Creating your first bot

1. Go to the **My Bots** section and click "Create Bot" — at this step you only need a name, no Telegram token required.
2. The bot's settings page opens. Click **"Open constructor"** to go to the logic editor.
3. Add the first node — the **Start** node — and inside it a "Text" block containing a welcome message.
4. Click **Publish** — the scenario is ready to run.

## Check your bot without any external setup

You don't need a token from [@BotFather](https://t.me/BotFather) just to see your bot working. The fastest way is the web widget: unlike Telegram, WhatsApp, or the other channels, it needs no external token or account — just a connection inside Botconsole.

- On the **free plan**, the widget is available right away, with a **14-day** trial counted from when the bot was created.
- On **paid plans**, there's no time limit, and additional channels — WhatsApp, Instagram, Email, SMS — become available depending on your plan.

Connect the widget from the **Channels** tab in your bot's settings, then click the **▶** button in the builder's header — it lists every connected channel — and send yourself a test message without leaving the editor.

When you're ready to go live on Telegram or other channels, connect them the same way, from the **Channels** tab — a [@BotFather](https://t.me/BotFather) token is only needed for Telegram. See [Web Widget](../Channels/Web%20Widget.md) and [Telegram](../Channels/Telegram.md) for details.

## Editor structure

The editor consists of several parts:

- **Canvas** — the workspace where you place nodes and view the connections between them.
- **Properties Panel** — opens when you click on a node, allowing you to edit its blocks.
- **Header** — contains buttons for publishing, templates, integrations, testing, and version history.

## Publishing

The bot runs based on the **published** version. Drafts are automatically saved every 1–2 seconds, but for users to see your changes, you must click the **Publish** button in the top-right corner.

After publishing, the version number **v.N** is displayed.

## Version history

Each publication creates a **snapshot**—a record of the scenario at the time of publishing. To view the history or revert to a previous version:

1. Click the clock icon button in the builder's header.
2. The list displays all publications, including the date and version number. 3. Click the desired version to restore it as a draft.
4. Publish the restored draft if you want to revert to that specific version.

## What's next

- [Nodes and scenarios](Nodes%20and%20Scenarios.md) — how bot scenarios are structured
- [Block types](Block%20Types.md) — available messages and actions
- [Variables](Variables.md) — how to store and use user data
- [Buttons](Buttons.md) — navigation and interactivity
- [Web Widget](../Channels/Web%20Widget.md) and [Telegram](../Channels/Telegram.md) — connecting channels
