# TreeMates as provider

During the setup process, you have the choice to select [TreeMates](https://www.treemates.net/en/) as your provider. TreeMates is an intermediary that works with various certified organizations to promote the reforestation of forests.

### Setup

To set up TreeMates, you need to go to `Extensions > My extensions > Apps` in the admin and then, for the Tree per Order (Cloud) app, right-click `...` > Configuration. Further down you will find the section `TreeMates donations`

![](https://1923190518-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhDVIwCi_IMhrBtbXDD-1972196547%2Fuploads%2FzhOcE1fmgmMcgMR5hpcM%2FBildschirmfoto%202021-10-14%20um%2022.52.51.png?alt=media\&token=e743b44a-996a-4f24-9af5-eb2d19d23c58)

#### API key

The most important setting is the `API key`. Without this key a communication with TreeMates is not possible.

To get the `API key`, you first need an active account at TreeMates. Now you can log in to <https://console.treemates.net/> and go directly to <https://console.treemates.net/api-keys>.

There you can generate a live key and then copy and paste it into the `API key` field.

![](https://1923190518-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhDVIwCi_IMhrBtbXDD-1972196547%2Fuploads%2FdAwuzBozeXmx71q9xQaG%2Ftreemates-api-keys.png?alt=media\&token=5b69f4dc-620d-4425-94a1-146790ae041c)

#### Send certificate to customer

The `Send certificate to customer` checkbox determines whether the customer receives a donation certificate with a PDF by email. The certificate will only be sent if the order status is set to `Completed` and the associated tree planting is set to `Planted`.

#### Donate anonymously

The checkbox `Donate anonymously` determines whether customer data such as first name, last name and the email are transmitted to TreeMates. If the checkbox is activated, no donation certificate will be sent by email in any case.
