> For the complete documentation index, see [llms.txt](https://docs.balkan.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.balkan.id/lifecycle-management/jitpbac/constraints/create-constraint.md).

# Create constraint

1. Navigate to the ‘**Purposes & Constraints**’ tab in the side navigation bar and open the '**Constraints'** page. This page lists all the constraints that have been set up for your tenant.

2. To create a new constraint, click on the ‘**Create Constraint**’ button at the top left of the page. This action will open a new page where you can enter the details for the constraint.|<br>

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

3. Fill in all the required (\*) fields related to the constraint. Filling out the optional fields is not mandatory.<br>

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

4. To add connections to the constraint, click on the ‘**Add Connection**’ button at the top right of the connections table. From the dialog that appears, select the connections you want to associate with the constraint.<br>

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

5. To add users to the Constraint, click the **'Users'** tab, then click the **‘Add User’** button at the top right of the users table. In the dialog that appears, select the users you want to associate with the constraint.<br>

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

6. Once all details are entered and connections & users are selected, click on the ‘**Save**’ button to create the constraint.\ <br>

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

7. The newly created constraint will then appear on the 'Constraints' page.<br>


---

# 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://docs.balkan.id/lifecycle-management/jitpbac/constraints/create-constraint.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.
