# Dealer How-Tos

## Log In

You can log in using your email, password, and Multi-factor authentication (MFA). When you initiate the login, you will receive a response indicating if you can use MFA, or if you need to set it up first. To set it up, you must first associate and validate an authenticator app. You can then complete the login with the required MFA code. When you complete the login, you will receive a JWT Token, which you can then use for other API calls.

{% hint style="info" %}
**This token expires after 1 hour**, after which you will have to log in again.
{% endhint %}

1. [Initiate Login](/guide-to-using-kaio/understanding-projects/dealer/dealer.md#account)
2. [Validate MFA](/guide-to-using-kaio/understanding-projects/dealer/dealer.md#account) (only if setting up)
3. [Complete Login (with MFA)](/guide-to-using-kaio/understanding-projects/dealer/dealer.md#account)

## Onboard Investors

To onboard an investor, first you must register them. After that you add their compliance check results to the system. Then you can request access to a Fund/Instrument on their behalf. Finally you can view their access to an Instrument to make sure they can now use it.

1. [Create an Investor](/guide-to-using-kaio/understanding-projects/dealer/dealer.md#investors)
2. [Set their KYC/AML/Sanction results](/guide-to-using-kaio/understanding-projects/dealer/dealer.md#investors)
3. [Request Access to a Fund/Instrument for them](/guide-to-using-kaio/understanding-projects/dealer/dealer.md#investors)
4. [View Access to an Instrument](/guide-to-using-kaio/understanding-projects/dealer/dealer.md#investors)

## Manage the Lifecycle of Orders

As an Investor's Dealer, you can manage orders on their behalf. To do this, 1) create an order, 2) confirm it, and 3) finally, lock the order (For Subscription Orders, the KAIO Admin will lock the orders). At this stage you can still cancel the order if needed. The Fund Admin will review the agreement request, and then the KAIO Admin will settle or cancel the order accordingly.

**Subscriptions:**

1. [Create Subscription Order](/guide-to-using-kaio/understanding-projects/dealer/dealer.md#investors-subscriptions)
2. [Confirm Subscription Order](/guide-to-using-kaio/understanding-projects/dealer/dealer.md#investors-subscriptions)
3. Lock Subscription Order (done by KAIO Admin for Subscriptions)

**Redemptions:**

1. [Create Redemption Order](/guide-to-using-kaio/understanding-projects/dealer/dealer.md#investors-redemptions)
2. [Confirm Redemption Order](/guide-to-using-kaio/understanding-projects/dealer/dealer.md#investors-redemptions)
3. [Lock Redemption Order](/guide-to-using-kaio/understanding-projects/dealer/dealer.md#investors-redemptions)

## Set up Compliance Checks

You can set up the Rule Modules, that contain the custom compliance checks based on your internal requirements for operations done by your Investors. These modules need to be deployed and registered.

1. [Deploy Rule Module](/guide-to-using-kaio/understanding-projects/dealer/dealer.md#rule-modules)
2. [Register Rule Module](/guide-to-using-kaio/understanding-projects/dealer/dealer.md#rule-modules)


---

# 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.kaio.xyz/guide-to-using-kaio/understanding-projects/dealer/dealer-how-tos.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.
