# Detecting NearFi wallet provider ready

NearFi Dapp browser injected a global object called `nearFiWallet` for applications to interact with the user wallet and the NEAR blockchain\
\
This code segment checks whether NearFi wallet available for use in the browser

```javascript
if (typeof window.nearFiWallet !== 'undefined' && window.nearFiWallet.isNearFi) {
  console.log('NearFi is installed and ready for connection!');
}  
```


---

# 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.nearfi.finance/developer-guide/integrate-nearfi-dapp-browser-into-your-app/detecting-nearfi-wallet-provider-ready.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.
