# Overview

## What is PocketBlocks?

**Openblocks + PocketBase = PocketBlocks.**

PocketBlocks is a integration between Openblocks and PocketBase.

Traditionally, building an internal app requires complex frontend and backend interactions with hundreds and thousands lines of code, not to mention work on packaging, integration and deployment. PocketBlocks significantly reduces the work you need to do to build an app.

In PocketBlocks, all you need to do is drag and drop pre-built or self-customized components onto the What-You-See-Is-What-You-Get (WYSIWYG) canvas, PocketBlocks helps you build an app quickly and focus on business logic.

## Why choose PocketBlocks?

* **Open source**: Makes your ideas more feasible.
* **High scalability**: Allows to execute JavaScript almost anywhere you would like to customize your business processes and UI components.
* **Clean design**: Follows the principles of Ant Design and supports display on screens of different sizes. We have a number of UI components, based on which you can freely build dashboard, admin panel, and content management system (CMS).

## How to build an app in PocketBlocks?

Building an internal app basically takes 4 steps:

1. Quickly connect to your Pocketbase API using its SDK.
2. Use pre-built or user-customized UI components to build your app UI.
3. Set up [event handlers](https://pocketblocks.pedroza.dev/build-apps/event-handlers) to trigger javascript functions, control components or other actions in reaction to user interactions.
4. Preview and share your app with others.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pocketblocks.pedroza.dev/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
