> 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).

# 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](/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](/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](/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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
