# How to Integrate

To integrate Kastle with your dApp, you can choose one of two methods:

#### 1. Integrate with Kastle Wallet API

Use the Wallet API to directly interact with Kastle services. This approach gives you more control and flexibility in how you manage wallet-related actions.

👉[ Learn more about Kastle Wallet API integration](/readme/how-to-integrate/kastle-wallet-api.md)

***

#### 2. Use Kastle SDK

The SDK provides an easier and more streamlined integration experience. It's ideal for teams looking for quick setup and less manual configuration.

👉 [Explore the Kastle SDK guide](/readme/how-to-integrate/kastle-sdk.md)


---

# 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.kastle.cc/readme/how-to-integrate.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.
