> For the complete documentation index, see [llms.txt](https://docs.prozora.network/bank-integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.prozora.network/bank-integration/eng/api-methods/optional-branch/how-to-add-employee-to-branch.md).

# How to add employee to branch

To add a user to a role you can go through that diagram. In this diagram you can see the endpoints that are described in the previous sections.

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

<table><thead><tr><th width="68.33333333333331">№</th><th width="241">Endpoint</th><th width="194">Parameters</th><th>Responce/result</th></tr></thead><tbody><tr><td>1</td><td><a data-mention href="/pages/RBZjM0VcH9DBidiZUSCK#get-roles-with-branch-access-permissions-for-table">/pages/RBZjM0VcH9DBidiZUSCK#get-roles-with-branch-access-permissions-for-table</a></td><td>no parameters</td><td>a list of available branches with appropriate roles, where you should choose a suitable role, if you need another role go to <strong>step 5</strong></td></tr><tr><td>2</td><td><a data-mention href="/pages/RBZjM0VcH9DBidiZUSCK#get-users-list">/pages/RBZjM0VcH9DBidiZUSCK#get-users-list</a></td><td>no parameters</td><td>a list of employees, you should copy <strong><code>{guid}</code></strong> of the employee that you want to add to branch-role, if you need another employee go to <strong>step 4</strong></td></tr><tr><td>3</td><td><a data-mention href="/pages/RtTPIHSUXDsBhgvNJ280#add-user-to-role">/pages/RtTPIHSUXDsBhgvNJ280#add-user-to-role</a></td><td><ul><li><strong><code>{branch_name}</code></strong> from step 1</li><li><strong><code>{user_guid}</code></strong> from step 2</li></ul></td><td>a user is added to branch</td></tr><tr><td>4</td><td><a data-mention href="/pages/KbwZfYbNEwcDdoT2pxNu#create-employee">/pages/KbwZfYbNEwcDdoT2pxNu#create-employee</a></td><td>see description in<a data-mention href="/pages/KbwZfYbNEwcDdoT2pxNu#create-employee">/pages/KbwZfYbNEwcDdoT2pxNu#create-employee</a>, <strong><code>{branch_name}</code></strong> from step 1</td><td>a new employee in <strong><code>{branch_name}</code></strong> is created</td></tr><tr><td>5</td><td><a data-mention href="/pages/RBZjM0VcH9DBidiZUSCK#create-role-for-branch-access">/pages/RBZjM0VcH9DBidiZUSCK#create-role-for-branch-access</a></td><td>see description in <a data-mention href="/pages/k0vwuEgkSj4h9slg4V9R#create-role-for-branch-access">/pages/k0vwuEgkSj4h9slg4V9R#create-role-for-branch-access</a></td><td>a new role for branch access is created</td></tr><tr><td>6</td><td><a data-mention href="/pages/RtTPIHSUXDsBhgvNJ280#get-all-available-permission-titles">/pages/RtTPIHSUXDsBhgvNJ280#get-all-available-permission-titles</a></td><td>no parameters</td><td>a list of availible permissions, you should find  permission that you need with <code>"keto_kind": "branch"</code>, copy <strong><code>{guid}</code></strong> of that permission. If you need another permission go to <strong>step 8</strong></td></tr><tr><td>7</td><td><a data-mention href="/pages/RBZjM0VcH9DBidiZUSCK#add-role-permission-to-branch-access">/pages/RBZjM0VcH9DBidiZUSCK#add-role-permission-to-branch-access</a></td><td><ul><li><strong><code>{permission_guid}</code></strong> from step 6</li><li><strong><code>{branch_name}</code></strong> from step 1</li></ul></td><td>a new permission added to branch</td></tr><tr><td>8</td><td><a data-mention href="/pages/RBZjM0VcH9DBidiZUSCK#get-branch-access-scopes">/pages/RBZjM0VcH9DBidiZUSCK#get-branch-access-scopes</a></td><td>no parameters</td><td>availible branch access scopes, copy a name of scope that you need. If you need another scope, go to <strong>step 9</strong></td></tr><tr><td>9</td><td><a data-mention href="/pages/RtTPIHSUXDsBhgvNJ280#create-permissions">/pages/RtTPIHSUXDsBhgvNJ280#create-permissions</a></td><td><p>see description in <a data-mention href="/pages/RtTPIHSUXDsBhgvNJ280#create-permissions">/pages/RtTPIHSUXDsBhgvNJ280#create-permissions</a> </p><ul><li><code>"keto_kind": "branch</code>, </li><li><strong><code>{keto_scope_name}</code></strong> from step 8</li></ul></td><td>a new permission is created</td></tr></tbody></table>


---

# 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.prozora.network/bank-integration/eng/api-methods/optional-branch/how-to-add-employee-to-branch.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.
