# Setup

To activate the app, you have to go to `Extensions > My extensions > Apps` in the admin and then click on the right side of the app "Tree per Order (Cloud)" on `...` > Configuration.

Now you are in the settings for the app. You have to perform the following steps:

* First, you need to enable the app for your sales channels using the `Active` checkbox.
* You also need to choose a suitable provider for the donations. The easiest way is with our partner TreeMates.

Finally, you need to press the `Save` button. Depending on the provider, separate setup steps may need to be taken into account.

![](/files/JZ47iHHSh6gjBUVVyHyp)

### Donation product ID

You may have noticed that there is a field called `Donation product ID`. The purpose behind it: This field is used to determine which donation product will be added to the shopping cart later at the end of checkout.

The actual donation product is already installed when the app is activated for the first time and the ID is then automatically determined and written into the `Donation product ID` field. So there is nothing to consider here.

{% hint style="info" %}
**Tip**

If you ever delete the donation product, there is no need to worry. You can always recreate the donation product by deleting the `Donation product ID` field and then reinstalling the app.
{% endhint %}


---

# 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.shop-studio.io/shopware/extensions/tree-per-order/setup.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.
