# Create with Form

On the Deka Guard page, click the "+ Create Guard" button and select "Create with Form".

<figure><img src="/files/QRmew5Zx9OiGntWvlM3f" alt=""><figcaption></figcaption></figure>

<p align="center">Create with YAML</p>

The Create Guard page appears, there are several columns including the Name column, Namespace column, Endpoint Selector column.

<figure><img src="/files/u1c96d5BcUCEwjFHS810" alt=""><figcaption></figcaption></figure>

<p align="center">Input data guard</p>

The Endpoint Selection section is used as a label selector to select the pod that will be the target of the rule to be applied. In this guide we use “app=web-app”. Press the Add button icon.

<figure><img src="/files/CZNk5rmIiq5yKLvbbqxU" alt=""><figcaption></figcaption></figure>

<p align="center">Input endpoint selector</p>

Specify the global options to block for Ingress Deny or Egress Deny.

<figure><img src="/files/3LYWgdDpSYYLjEJwxAPB" alt=""><figcaption><p>Ingress &#x26; Egress</p></figcaption></figure>

If Ingress Deny is checked, it blocks all incoming traffic to the endpoint selector, while if Egress Deny is checked, it blocks all outgoing traffic from the endpoint selector. Unless you add a CIDR or Selector type using the New Rule button in Ingress Deny or Egress Deny. This guide provides examples only for adding rules to Ingress. Press the New Rule button.

<figure><img src="/files/A81O3OjHngVtsIoVeu9n" alt=""><figcaption><p>Add Ingress Rule</p></figcaption></figure>

Display the Create Ingress window, specify the Type used.

<figure><img src="/files/bmbSmq8RKqxsjkSlK83e" alt=""><figcaption></figcaption></figure>

If the type used is Selector, then only the Selector and Port columns will come out. If the type used is CIDR, then there are Selector, Port, and Exception columns. Press the Add button when the configuration is complete.

<figure><img src="/files/IB4dCOHbODxy42Lf7dgm" alt=""><figcaption><p>Type Create Ingress</p></figcaption></figure>

Click Submit button.

<figure><img src="/files/klrncuq35VTRSDX8HWBg" alt=""><figcaption><p>Create with Form</p></figcaption></figure>

The notification “Guard has been successfully created.” if you successfully added Deka User in Cloudeka Portal Service.


---

# Agent Instructions: 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.cloudeka.ai/deka-guard/create-deka-guard/create-with-form.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.
