# Include custom connector (Java) into SaaS environment

**URL:** <https://forum.camunda.io/t/include-custom-connector-java-into-saas-environment/39729>\
**Category:** Camunda 8 Topics\
**Created:** [September 5, 2022, 10:18am UTC](https://forum.camunda.io/t/include-custom-connector-java-into-saas-environment/39729 "2022-09-05T10:18:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luis\_Englaender](https://forum.camunda.io/user_avatar/forum.camunda.io/luis_englaender/32/21903_2.png) [@Luis\_Englaender](https://forum.camunda.io/u/Luis_Englaender)\
**Post date:** [September 5, 2022, 10:18am UTC](https://forum.camunda.io/t/include-custom-connector-java-into-saas-environment/39729/1 "2022-09-05T10:18:04Z")

</div>

Hi, based on [this question](https://forum.camunda.io/t/rest-connector-bearer-token-with-mtls/39618/2) on connectors, I decided to build one that is capable of using mTLS (based on the [connector template repo](https://github.com/camunda/connector-template)).

But even before doing that I wonder : how does one publish the java code to the Camunda 8 SaaS runtime environment ?  
Or is that only possible with self managed deployments ?

I know I can add the JSON file to have the connector available in the modeler but I suppose somehow the process engine will need the java implementation of the connector function etc. and I don’t know how to supply it.

Thanks in advance and if there are any questions, let me know.

---

<div class="post-metadata">

**Author:** ![StephanHaarmann](https://forum.camunda.io/user_avatar/forum.camunda.io/stephanhaarmann/32/21924_2.png) [@StephanHaarmann](https://forum.camunda.io/u/StephanHaarmann)\
**Post date:** [September 5, 2022, 2:37pm UTC](https://forum.camunda.io/t/include-custom-connector-java-into-saas-environment/39729/2 "2022-09-05T14:37:52Z")

</div>

Hi @Luis_Englaender,

Currently, custom connectors are only available in Camunda 8 self-hosted:

> You can use the Camunda [**Connector SDK**](https://docs.camunda.io/docs/components/integration-framework/connectors/custom-built-connectors/connector-sdk/) in combination with [**Connector templates**](https://docs.camunda.io/docs/components/integration-framework/connectors/custom-built-connectors/connector-templates/) to develop custom **Connectors**. These custom **Connectors** can then be used by process developers in your Self-Managed environment in the same way they would use [**out-of-the-box Connectors**](https://docs.camunda.io/docs/components/integration-framework/connectors/use-connectors/).

> **[Introduction | Camunda 8 Docs](https://docs.camunda.io/docs/components/connectors/introduction-to-connectors/)**
>
> A Connector is a reusable building block that performs the integration with an external system and works out of the box.

---

<div class="post-metadata">

**Author:** ![Luis\_Englaender](https://forum.camunda.io/user_avatar/forum.camunda.io/luis_englaender/32/21903_2.png) [@Luis\_Englaender](https://forum.camunda.io/u/Luis_Englaender)\
**Post date:** [September 5, 2022, 3:24pm UTC](https://forum.camunda.io/t/include-custom-connector-java-into-saas-environment/39729/3 "2022-09-05T15:24:06Z")

</div>

Alright, thank you @StephanHaarmann. Is there any other way you can think of to communicate with REST Apis over mTLS then ? Maybe wrap the custom connector in a job worker like [this](https://github.com/camunda/connector-sdk/tree/main/runtime-job-worker) or use a regular job worker to begin with ?

---

<div class="post-metadata">

**Author:** ![jonathan.lukas](https://forum.camunda.io/user_avatar/forum.camunda.io/jonathan.lukas/32/14911_2.png) [@jonathan.lukas](https://forum.camunda.io/u/jonathan.lukas)\
**Post date:** [September 6, 2022, 5:38am UTC](https://forum.camunda.io/t/include-custom-connector-java-into-saas-environment/39729/4 "2022-09-06T05:38:40Z")

</div>

Hello @Luis_Englaender ,

the `connector-sdk` you are referring to is still in development. Please test it and create your worker with it, but do not run it in production.

Anyway, a connector will consist of 2 things: the element template which is the contract, and the connector code which implements the contract. So both options you mention will work.

If you have more questions, please create a new thread so we can keep track.

Jonathan

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [January 31, 2024, 10:26am UTC](https://forum.camunda.io/t/include-custom-connector-java-into-saas-environment/39729/5 "2024-01-31T10:26:30Z")

</div>

Closed on January 31, 2024, 10:26am UTC


