# Overview

Rulecube is an embeddable business rule engine for decision rules, calculation rules, and process flows, which you can access and exploit through an 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>Learn the core components and build your first ruleset with our <strong>Tutorial</strong>.</td><td></td><td><a href="https://content.gitbook.com/content/kPoC1P5CqaOhS6k4bIDl/blobs/oLk4F6jtEY7iHtZhtsqK/NewToRulecubeCard.png">NewToRulecubeCard.png</a></td><td><a href="tutorial">tutorial</a></td></tr><tr><td></td><td>Build a more complex ruleset and utilize its API with our <strong>Guides</strong>.</td><td></td><td><a href="https://content.gitbook.com/content/kPoC1P5CqaOhS6k4bIDl/blobs/yp5qHDUCMAZ5grv2g4L2/ReadyToDiveInCard.png">ReadyToDiveInCard.png</a></td><td><a href="how-to-guides">how-to-guides</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.

### Need to do a specific task? → [How-to Guides](https://docs.rulecube.com/how-to-guides)

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](https://docs.rulecube.com/language-reference)

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: 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://docs.rulecube.com/overview.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.
