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

# Dolibarr

# PREREQUISITES

1. Make sure to enable at least the following modules:

   1. Third parties
   2. Invoices
   3. Products
   4. Vendors
   5. API / Web Services (REST SERVER) (to be able to enable the API)

This can be managed through Home > Setup > Modules/Applications.

<img src="https://mintcdn.com/chift/mXkRBMOfb3yzCUyf/images/help/dolibarr/dolibarr-1.png?fit=max&auto=format&n=mXkRBMOfb3yzCUyf&q=85&s=8dedcd948587d8fc9158c74d8f0dd9e2" alt="image.png" width="1600" height="382" data-path="images/help/dolibarr/dolibarr-1.png" />

You might need as well Projects if needed by your use case.

2. To create the API key:

   1. you need to go to Home > Users & Group > edit your user > click on Modify
   2. On Key for API click to generate a key (copy it for later usage)

<img src="https://mintcdn.com/chift/mXkRBMOfb3yzCUyf/images/help/dolibarr/dolibarr-2.png?fit=max&auto=format&n=mXkRBMOfb3yzCUyf&q=85&s=0807860e7091b3a934a026d21d9089a9" alt="image.png" width="929" height="49" data-path="images/help/dolibarr/dolibarr-2.png" />

3. If you are not using Dolibarr cloud, make sure that your API is reachable from external sources.

# CONNEXION

**Step 1:** Choose a name for your connection.

<img src="https://mintcdn.com/chift/mXkRBMOfb3yzCUyf/images/help/dolibarr/dolibarr-3.png?fit=max&auto=format&n=mXkRBMOfb3yzCUyf&q=85&s=2a3df463e3ebb65650c9c4da1801e7a2" alt="" width="590" height="104" data-path="images/help/dolibarr/dolibarr-3.png" />

**Step 2:** Enter the url of your instance (if using the cloud it will end with [dolicloud.com](http://dolicloud.com))

<img src="https://mintcdn.com/chift/mXkRBMOfb3yzCUyf/images/help/dolibarr/dolibarr-4.png?fit=max&auto=format&n=mXkRBMOfb3yzCUyf&q=85&s=b8382d876337016964f0f2065a2d1b1f" alt="image.png" width="485" height="97" data-path="images/help/dolibarr/dolibarr-4.png" />

**Step 3:** Select whether you have the multicompany module. This module needs to be enabled as well to work correctly.

<img src="https://mintcdn.com/chift/mXkRBMOfb3yzCUyf/images/help/dolibarr/dolibarr-5.png?fit=max&auto=format&n=mXkRBMOfb3yzCUyf&q=85&s=8239eeaa1a8a1f739a92a2a3630a7ef1" alt="image.png" width="481" height="92" data-path="images/help/dolibarr/dolibarr-5.png" />

**Step 4:** Use the API key you generated previously

<img src="https://mintcdn.com/chift/mXkRBMOfb3yzCUyf/images/help/dolibarr/dolibarr-6.png?fit=max&auto=format&n=mXkRBMOfb3yzCUyf&q=85&s=607fb9979a4d87b4e6416b7dc678a13b" alt="image.png" width="477" height="88" data-path="images/help/dolibarr/dolibarr-6.png" />
