# Backend App Development

When there are some backend services that need to directly interact with XION, we can still provide the corresponding capabilities.

## The different types of XION integration on backend

When you need to integrate Web3 into your product, you may encounter the following challenges:

* You already have an existing user base and do not want them to change their usage habits.
* You have a mature Web2 frontend user experience and do not want to rewrite most of your frontend code.
* You have existing infrastructure and integrations that you wish to continue using.

Xion provides a variety of ways to integrate, allowing you to choose the approach that best fits your product for Web3 integration.

| Approach                                         | With frontend | With backend | Using MetaAccount(Account Abstraction) + Gasless Transaction | Example Guide                                                                                                                                                   |
| ------------------------------------------------ | ------------- | ------------ | ------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Direct Blockchain Interaction                    | No            | Yes          | No                                                           | [Interact with XION via your Backend Service](/xion/developers/accounts/backend-app/xion-backend-using-cosmjs.md)                                               |
| Web2 Experience with XION Integration in backend | Optional      | Yes          | Yes                                                          | [Account Abstraction for RESTful API with Backend Session](/xion/developers/accounts/backend-app/build-restapi-with-account-abstraction-and-backend-session.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.burnt.com/xion/developers/accounts/backend-app.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.
