> For the complete documentation index, see [llms.txt](https://docs.g-iot.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.g-iot.io/platform-user-guide-book/geofence/create-geofence.md).

# Create Geofence

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdomtLJJ0A0Fy__SYDBfpFYFC63D9I1K7t8BYANqQFRMw0Zzy_V6Qsw0Zn2Ox8ZQgGhDlKQfpZvGnla3gJ0qVCV-snXrLd7aUdA3DLkJ0TY8-DIOLXxeGb5K8ZXqN8s4C6_qZ8lFw?key=M-g4csUEzYvWKn331EzU-Woy" alt=""><figcaption></figcaption></figure>

## **Steps to Create and Edit a Geofence**

1. **Navigate to Geofence Template:** Open the **Cockpit menu**, go to **Template**, and select **Geofence**.
2. **Create Geofence:** Click on the **+ icon** in the top-left corner to open the creation popup.
3. **Enter Geofence Details:** Provide a **name** for the geofence in the input field and click **Create** to generate a new geofence card.
4. **Edit Geofence:** Locate the newly created geofence card, click the **⋮ (ellipse)** menu, and select **Edit**.
5. **Define Geofence Area:** Access the map editor to draw and define the geofence boundary.

<figure><img src="/files/enCIJHrpfeTJCblxRCn2" alt=""><figcaption><p>Create Geofence</p></figcaption></figure>


---

# 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:

```
GET https://docs.g-iot.io/platform-user-guide-book/geofence/create-geofence.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
