> For the complete documentation index, see [llms.txt](https://docs.rulecube.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rulecube.com/overview.md).

# Overview

Rulecube is an embeddable business rule engine for decision rules, calculation rules, and process flows, which you can access through an API. Define your business rules in rulesets, build no-code forms on top of them, or automate multi-step processes with workflows — all accessible via API.

Rulecube allows you to apply different sets of business rules for different customers, fiscal years, products, or business entities.

You define your business rules in Rulecube in so-called rulesets. Basically, a ruleset has the following components:

* Some input,
* One or more rules that process the input,
* Some output produced by the ruleset.&#x20;

As shown in this short video:

{% embed url="<https://www.youtube.com/watch?v=k6xev52Qo58>" fullWidth="false" %}
Build an API in 60 seconds
{% endembed %}

A ruleset is accessible as an API, which you can apply in the following ways:

* As a source of business ruling within a loosely coupled IT infrastructure.
* As an embedded application for your enterprise software.

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td></td><td>Follow our step-by-step <strong>Tutorial</strong> and build a full ruleset, complete with test cases, forms, and workflows.</td><td></td><td><a href="/files/dDOD9YiScI3GIS0yJ2Vi">/files/dDOD9YiScI3GIS0yJ2Vi</a></td><td><a href="/pages/PgMzJ3JjzR1eoP49T6P3">/pages/PgMzJ3JjzR1eoP49T6P3</a></td></tr><tr><td></td><td>Already familiar with the basics? Our <strong>How-to Guides</strong> help you get specific things done — from calling your API to building forms and workflows.</td><td></td><td><a href="/files/UTXRZaaJfEJf970qpbkf">/files/UTXRZaaJfEJf970qpbkf</a></td><td><a href="/pages/WswEUDR7VosTF3V8Obud">/pages/WswEUDR7VosTF3V8Obud</a></td></tr></tbody></table>

## Master Rulecube your way with our guides and reference

Check out our guides and reference to perform specific tasks in Rulecube or deepen your knowledge on particular topics.

### **Just getting started? →** [**Quick Start**](/quick-start.md)

Build and test your first ruleset in minutes — no prior experience needed.

### Need to do a specific task? → [How-to Guides](/how-to-guides.md)

Hands-on, step-by-step guides to execute specific tasks in Rulecube. Most suitable if you're trying to get something done.

### Need info about a particular method? → [Language (Methods) Reference](/language-reference.md)

A detailed explanation of Rulecube ready-to-use methods. Suitable if you need all information about a specific method to fully exploit it in functions or rules.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.rulecube.com/overview.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
