# Recipe learning

Recipe learning is essential for your Dr. Coffee machine to collect and provide accurate data about your sales and resources. To ensure everything is set up correctly, please follow the guide below.

### Recipe learning process

1. Go to the page of a specific machine. Ensure that the controller is online.

{% hint style="info" %}
**Important!** If the controller is offline, check the internet connectivity via a SIM card or Ethernet cable. If the controller remains offline, settings **will not be transmitted** to the controller.
{% endhint %}

2. Go to the `Configuration` tab on the machine page. In `Teach mode` section enable `Testing mode` and click `Save` button at the bottom of the page.

<figure><img src="/files/vHfk3jZGpzDIAPbILvvJ" alt=""><figcaption></figcaption></figure>

3. Ensure that changes are applied on the `History` tab.

<figure><img src="/files/H5MTGYkxoTEMyYmiMez9" alt=""><figcaption></figcaption></figure>

4. Set up all recipes on the coffee machine itself.
5. After the recipes are correctly implemented on the machine, you need to teach the controller. To do so, go to the `Configuration` tab on the machine page and change `Teach mode` to `Teaching mode` . Then, click `Save` button at the bottom of the page.

<figure><img src="/files/UM99cHMJiHhr2VbslUTM" alt=""><figcaption></figcaption></figure>

6. Ensure that changes are applied on the `History` tab.
7. Click twice on each drink on the coffee machine screen. There should be a 3-second pause between the first and second attempts.

{% hint style="info" %}
**Important!** The order in which the drinks are pressed should match the numbering of the drinks. The numbering is usually arranged from left to right.

<img src="/files/kAaDdDq5B6RutxqUmO2S" alt="" data-size="original">.           ![](/files/1bnprSBLt1hXq05oeBGk)
{% endhint %}

8. After all drinks are pressed, go back to the `Configuration` tab and change `Teach mode` to `Default mode`. Then, click `Save` button at the bottom of the page.

<figure><img src="/files/ONWzwC7akkH7PF0MYhL5" alt=""><figcaption></figcaption></figure>

9. Ensure that changes are applied on the `History` tab.
10. Then you need to create [Resources](/personal-account/products/resources.md), [Products](/personal-account/products.md), and [Product Matrix](/personal-account/machines/product-matrix.md).&#x20;

{% hint style="warning" %}
**Important!** The matrix should be created in the same order as the numbering of the drinks.
{% endhint %}

11. Add the ready matrix template to the specific machine page that you configured before.

***

{% embed url="<https://drive.google.com/file/d/1IFD5lKR5qKINRitFtX3hQGw2oHg_Lsfh/view?usp=sharing>" %}


---

# 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://help.smvend.io/equipment-installation/coffee-machines/dr.coffee/recipe-learning.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.
