> ## Documentation Index
> Fetch the complete documentation index at: https://developers.circularo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Circularo Frappe Integration

> [!WARNING]
>
> You are viewing the documentation of release 26.1, which is no longer the current one. [Go to the documentation of the current release 26.2](https://developers.circularo.com/).

[https://github.com/PALAXO/Circularo-Frappe-Integration](https://github.com/PALAXO/Circularo-Frappe-Integration)

## Installation

Please follow this guide:

[https://github.com/frappe/frappe/wiki/The-Hitchhiker%27s-Guide-to-Installing-Frappe-on-Linux](https://github.com/frappe/frappe/wiki/The-Hitchhiker's-Guide-to-Installing-Frappe-on-Linux)

Those are the main steps from the guide you must perform:

* Install all dependencies (including `wkhtmltopdf`)
* Prepare MySQL database
* Create new `bench`
* Create new site (tenant)
* Install application ERPNext

To install Circularo-Frappe-Integration application, use following commands:

```bash theme={null}
bench get-app https://github.com/PALAXO/Circularo-Frappe-Integration
bench --site {site_name} install-app circularo
bench update --build
```

* In some cases the second command may fail because OS didn't allow to rename the repository name
  * It usually happens when WSL is used
  * In this case, please call following commands and try it again:

```bash theme={null}
mv apps/Circularo-Frappe-Integration apps/circularo
echo circularo >> sites/apps.txt
pip3 install -q -U -e apps/circularo
```

Then you need to perform initial settings - fill in user's name, organization's name, choose ERPNext modules to be used, etc.

* All these things can be updated later
* In the last step it may throw error `System failed` → click button `retry` until it works
  * Python code cache is updated in this step, which causes internal restarts
* Then it may throw an error about insufficient rights of newly created user
  * Don't care, you can update the rights from admin account

Once completed, sign in as Administrator once more and configure `SMTP`

* `Settings` → `Email Account` and `Settings` → `Email Domain`
* The best is probably delete all records in both and create new domain and new account
* Then go to `Circularo Integration` → `Advanced settings` and activate automatic e-mail send

## In this section

> [card] [Guide](https://developers.circularo.com/26.1/example-integrations/circularo-frappe-integration/guide.md)
>
> How to activate and use the integration in ERPNext.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.