> For the complete documentation index, see [llms.txt](https://help.sipgate.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.sipgate.de/cloud-telefonanlage/en/connections-and-integrations/integrationen-fur-die-sipgate-app/civicrm-integration.md). Agents can also search and read this documentation through its [MCP server](https://help.sipgate.de/~gitbook/mcp).

# CiviCRM integration

This is how you connect the open-source CRM CiviCRM with the sipgate app for contact synchronization and telephony.

CiviCRM is a web-based, open-source CRM that meets the needs of nonprofit organizations and other civil society organizations. It is easy to use, customize, and extend.

With sipgate, you can make calls directly from CiviCRM and use your contacts in the sipgate app. This way, you can always see which contact is calling and don't have to switch between different tools. sipgate is your phone system, with a telephony app for desktop and mobile.

**Integrating CiviCRM with the sipgate app:**

{% stepper %}
{% step %}
**Select the integration**

In the sipgate app, click the gear icon on the left and select "Integrations".

Under “Integrations,” find “CiviCRM” and click the “Connect to CiviCRM” button. ![civicrm.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-4fd090699d5e34356949c61b8a0291df2d760e83%2Fcivicrm.png?alt=media\&token=1ce96bf3-6af0-4fa9-935c-5e57fd186d64)
{% endstep %}

{% step %}
**Enter API details**

Enter the required API key and API URL here.

![civicrm\_api.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-1359922db65fd53ceb7fa3132675820823bdd096%2Fcivicrm_api.png?alt=media\&token=b2e5e3b5-bcf4-490c-a61d-312103fa1e2e)
{% endstep %}

{% step %}
**Confirm the connection**

You have now successfully connected CiviCRM and the sipgate app.

{% hint style="info" %}
Note: Depending on the number of contacts being integrated, it may take a few minutes for them all to appear.
{% endhint %}
{% endstep %}
{% endstepper %}

**Find or create an API key in your CiviCRM account:**

{% hint style="warning" %}
**Important: To create an API key, you must first install the API Key Management module. At CiviSpark, the module is installed but not enabled. To have it enabled, please contact CiviCRM Support.**
{% endhint %}

{% stepper %}
{% step %}
**Enable the module**

You can find the API Key Management module settings in your CiviCRM account under “Administration,” “System Settings,” and “Extensions.”

![civicrm1.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-261a19cc310b297203e0ade70fd9d084176c8548%2Fcivicrm1.png?alt=media\&token=bf4b5a5e-76ec-46b0-9c6e-c38e53aea359)

The API Key Management module.

![civicrm2.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-b3d8908bc81fb411a922bf94b421157b4ee59d4e%2Fcivicrm2.png?alt=media\&token=13e8239c-94d0-44f3-9970-7e9d7a004c8a)
{% endstep %}

{% step %}
**Find a contact**

After successfully enabling the module, select “Search” from the top navigation, then select “Find Contacts.”

![civicrm3.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-ace057ee1c41cd86e14873a77a6c07f70dd5a109%2Fcivicrm3.png?alt=media\&token=1cabcb34-8d89-459b-9eb7-dc783b57a777)

In the new window, leave all fields blank and click the “Search” button.

![civicrm4.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-cd3c71ae45ab7c753d17968d4cab11bfb2d077fb%2Fcivicrm4.png?alt=media\&token=d2eba767-934d-4126-8d51-43ba0bb4229f)

Select any contact.

![civicrm5.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-6621cdc6cddfbcaf771dc63981ae244c4163fc42%2Fcivicrm5.png?alt=media\&token=358af77e-0453-408f-902a-81b12efda7bf)
{% endstep %}

{% step %}
**Create a user account**

Now click the “Action” button in the top-left corner of the window.

![civicrm6.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-d01794cd50114192900126a80e4cb32eb5c16a4a%2Fcivicrm6.png?alt=media\&token=7c4f320b-8981-4de4-9403-c5d1d40f45bd)

Select “Create User Account.”

![civicrm7.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-67dd5fe8162fe5911f02b97999d8b6d930c5f7ff%2Fcivicrm7.png?alt=media\&token=50cf5497-a727-4678-ac82-16fbcc9e158b)
{% endstep %}

{% step %}
**Assign the administrator role**

In the menu, click “Edit” and select “administrator” under “Roles.” Save your changes by clicking the “Save” button. ![civicrm8.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-9287f5bc444bfec690c93a4010946bfda3f44f3e%2Fcivicrm8.png?alt=media\&token=dcf48019-cf15-4e1a-b48f-73a32dd80a5c)
{% endstep %}

{% step %}
**Generate an API key**

Now return to the detail page for the selected contact and select “API Key” on the left. Then click the “+ Add API Key” button on the right side of the window. ![civicrm9.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-f205923d01a7a20ee732deacac1f8b1adc5e46ab%2Fcivicrm9.png?alt=media\&token=eaa7928a-4014-4e56-8aa5-b444527238bf)

Click “Generate” to create a new API key.

![civicrm10.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-eed78cf9bbffa1c5f1edee1940b77f069656e65b%2Fcivicrm10.png?alt=media\&token=8f1d6cd0-d9ca-46c2-b9fc-757c35d667e6)
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.sipgate.de/cloud-telefonanlage/en/connections-and-integrations/integrationen-fur-die-sipgate-app/civicrm-integration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
