> 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/trunking/en/3cx-sipgate-verbinden.md).

# Connect 3CX and sipgate

Currently, it is possible to connect the following 3CX plans with a sipgate trunk:

* 3CX PRO (Professional)
* 3CX ENT (Enterprise)

{% hint style="info" %}
**Important:** The 3CX PRO and 3CX ENT plans can be connected to sipgate via a provider template. Other 3CX plans currently do not offer this option.
{% endhint %}

For some time now, sipgate can no longer be selected as a provider in 3CX, so this must be done using a custom template. The template can [be downloaded using the following link](https://drive.google.com/file/d/1M1nqbwNldjHmcc5gmos8RIddg0KnXwwF/view?usp=drive_link).

{% stepper %}
{% step %}

#### Upload template

After you have logged in to the 3CX portal, you can via **Advanced - Templates - Provider templates - import"** upload our template

![Import 3CX provider template](/files/7add86c904451a27581a076dac885d0251ff81ea)
{% endstep %}

{% step %}

#### Enter trunk data

Then also the **main trunk number**, **SIP user ID** and the associated **authentication password** need to be added:

![3CX trunk data](/files/dc0620733dbe2884169daa6643f5472ce363418e)

You can find this data at sipgate under **Account management → Trunks → 3CX**. You can find the main trunk number under Phone numbers (top number).

![sipgate trunk data](/files/7b0e2f5523e1ffc7ca92100076d18b95898ff966)
{% endstep %}

{% step %}

#### Set transport protocol

In the configuration, the transport protocol should be set to UDP:

![Transport protocol to UDP](/files/04022c395a8bbfff5f0ee347866eb972f3cf0be9)

The message about the "unverified provider ..." can be ignored:

![Ignore message](/files/df2c1085d8eb003308e333dfd9cc34458600a48b)
{% 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.sipgate.de/trunking/en/3cx-sipgate-verbinden.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
