# How to communicate with Zeebe when using external forms

**URL:** <https://forum.camunda.io/t/how-to-communicate-with-zeebe-when-using-external-forms/50353>\
**Category:** Camunda 8 Topics\
**Tags:** zeebe\
**Created:** [February 6, 2024, 11:57am UTC](https://forum.camunda.io/t/how-to-communicate-with-zeebe-when-using-external-forms/50353 "2024-02-06T11:57:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![okaeiz](https://forum.camunda.io/user_avatar/forum.camunda.io/okaeiz/32/29849_2.png) [@okaeiz](https://forum.camunda.io/u/okaeiz)\
**Post date:** [February 6, 2024, 11:57am UTC](https://forum.camunda.io/t/how-to-communicate-with-zeebe-when-using-external-forms/50353/1 "2024-02-06T11:57:40Z")

</div>

I have created a form manually with HTML and Javascript. I am sending a POST request to my Go backend script that exposes an API endpoint. I want to start process instances and pass the values using Zeebe, in order to track the process.

> > What I have tested: I was using an embedded form - that I had created it with Desktop Modeler - before. And it was working fine. But since the Desktop Modeler has restrictions on styling the form elements, I used an external HMTL form.

---

<div class="post-metadata">

**Author:** ![nathan.loding](https://forum.camunda.io/user_avatar/forum.camunda.io/nathan.loding/32/24171_2.png) [@nathan.loding](https://forum.camunda.io/u/nathan.loding)\
**Post date:** [February 6, 2024, 4:58pm UTC](https://forum.camunda.io/t/how-to-communicate-with-zeebe-when-using-external-forms/50353/2 "2024-02-06T16:58:20Z")

</div>

Hi @okaeiz - I’m not sure I fully understand the question. Your backend can call any of the exposed Camunda APIs. To start a process instance, you would make the [CreateProcessInstance gRPC call](https://docs.camunda.io/docs/apis-tools/zeebe-api/gateway-service/#createprocessinstance-rpc) to Zeebe, and you can include the values from your form in that request as variables. The best practice would be to have your backend communicate with Camunda/Zeebe, rather than your frontend.

---

<div class="post-metadata">

**Author:** ![okaeiz](https://forum.camunda.io/user_avatar/forum.camunda.io/okaeiz/32/29849_2.png) [@okaeiz](https://forum.camunda.io/u/okaeiz)\
**Post date:** [February 10, 2024, 10:34am UTC](https://forum.camunda.io/t/how-to-communicate-with-zeebe-when-using-external-forms/50353/3 "2024-02-10T10:34:49Z")

</div>

Could you please share a sample snippet in Go?

---

<div class="post-metadata">

**Author:** ![christian-konrad](https://forum.camunda.io/user_avatar/forum.camunda.io/christian-konrad/32/21609_2.png) [@christian-konrad](https://forum.camunda.io/u/christian-konrad)\
**Post date:** [February 12, 2024, 9:07am UTC](https://forum.camunda.io/t/how-to-communicate-with-zeebe-when-using-external-forms/50353/4 "2024-02-12T09:07:17Z")

</div>

Hi @okaeiz !

I recommend you to read the following docs:

> **[Introduction to forms | Camunda 8 Docs](https://docs.camunda.io/docs/next/apis-tools/frontend-development/forms/introduction-to-forms/)**
>
> Forms play a key role in guiding work processes, gathering necessary information, and aiding in decision-making for human tasks.

> **[Overview | Camunda 8 Docs](https://docs.camunda.io/docs/next/apis-tools/tasklist-api-rest/tasklist-api-rest-overview/)**
>
> Build applications for human-centered processes by querying human tasks, assigning users, and completing tasks with the Tasklist API.

> **[Overview | Camunda 8 Docs](https://docs.camunda.io/docs/next/apis-tools/zeebe-api/overview/)**
>
> Zeebe clients use gRPC to communicate with the cluster. Activate jobs, cancel and create process instances, and more.

This should give you a sufficient overview of the relevant APIs for your case, and also how to overcome missing styling of forms in Modeler (you can simply do that on your end, and do not need to build all forms from scratch).

Let me know if this helps!

Best,  
Christian

---

<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:** [May 12, 2024, 9:07am UTC](https://forum.camunda.io/t/how-to-communicate-with-zeebe-when-using-external-forms/50353/5 "2024-05-12T09:07:30Z")

</div>

Closed on May 12, 2024, 9:07am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
