> For the complete documentation index, see [llms.txt](https://docs.aeternity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aeternity.com/developer-documentation/aepp-sdk-js/examples/browser.md). Agents can also search and read this documentation through its [MCP server](https://docs.aeternity.com/~gitbook/mcp).

# How to connect wallet to æpp using æternity's JS SDK

## Introduction

In æternity ecosystem, the app that has access to user's private keys and grants other apps\
access to them is called wallet. Respectively, the app that is granted access is called aepp.

This folder has been created to **showcase the æternity SDK integration** to both wallets and aepps.

## Setup info

If you are trying these examples after checking out this repo,\
you want to first run `npm install`, from the repo root, to get all the SDK dependencies installed,\
and only then, move to individual apps installations.

## Available examples

### 1. æpp

The Sample [æpp](https://docs.aeternity.com/developer-documentation/aepp-sdk-js/examples/browser/aepp.md) project (Distributed App or dapp) shows how you can create a simple æternity æpp,\
dependent on a Wallet, in this case: offering the possibility to work with contracts.

### 2. Wallet WebExtension

The [Wallet WebExtension](https://docs.aeternity.com/developer-documentation/aepp-sdk-js/examples/browser/wallet-web-extension.md) example project shows how you can create a simple\
æternity wallet as a Chrome/Firefox browser extension. This approach is actively used in[Superhero Wallet](https://github.com/aeternity/superhero-wallet).

### 3. iframe-based wallet

The [wallet](https://docs.aeternity.com/developer-documentation/aepp-sdk-js/examples/browser/wallet-iframe.md) example project shows how you can create a simple æternity wallet\
that opens æpps in iframe. This approach is actively used in [Base æpp](https://github.com/aeternity/aepp-base).


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.aeternity.com/developer-documentation/aepp-sdk-js/examples/browser.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
