# Detect Wallet

Adena enables web applications to interact with the Gnoland blockchain, allowing users to sign and broadcast transactions.

Once the Adena Wallet Chrome Extension is installed on the user's device, the `adena` object will be injected into the `window`. To **detect the installation of Adena Wallet**, look for `window.adena`. If Adena is not installed, we suggest directing your users to [our website](https://adena.app/) on a new tab.&#x20;

#### Sample Code

```javascript
window.onload = async() => {
  //look for the adena object
  if (!window.adena) {
    //open adena.app in a new tab if the adena object is not found
    window.open("https://adena.app/", "_blank");
  } else {
    //write your logic here
    //the sample code below displays a method provided by Adena that initiates a connection
    await adena.AddEstablish("Adena");
  }
};
```


---

# 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.adena.app/integrations/detect-wallet.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.
