> For the complete documentation index, see [llms.txt](https://help.buraq.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.buraq.ai/integrations/codeblock.md).

# Codeblock&#x20;

Action block is used to invoke custom functions made for custom projects by team Buraq

{% hint style="info" %}
This block is not publicly available and access is granted only by the Buraq team. You can email us at <hello@Buraq.ai> to request for the access
{% endhint %}

#### Use-case Scenario: <a href="#use-case-scenario" id="use-case-scenario"></a>

Some cases where Codeblock can be used are;

* Fetching data from the databases and rendering them dynamically as buttons, or carousels
* Integration with third-party systems

#### How do I set it up? <a href="#how-do-i-set-it-up" id="how-do-i-set-it-up"></a>

You can follow the following steps to set up the codeblock in Buraq;

* Add an action block on canvas by clicking on '**+**'
* Choose '**Codeblock**'
* Double click on '**Codeblock**' to configure it on the right panel
  * **Define function:** You can either use the existing function or create new function using code (JSON format) in the provided space

{% hint style="info" %}
You can enlarge the code space by clicking on '**Enlarge**' icon at the top right corner
{% endhint %}
