# Detecting wallet presence

To begin integrating with Fuelet Wallet, you first need to install the packages `@fuel-wallet/sdk` and `fuels`.

`npm install @fuel-wallet/sdk fuels`

With these dependencies installed you're able to create a `Fuel` object to interact with any supported wallet on Fuel:

{% tabs %}
{% tab title="TypeScript" %}

```javascript
import {
  Fuel,
  FuelWalletConnector,
  FueletWalletConnector,
} from "@fuel-wallet/sdk";

const fuel = new Fuel({
  connectors: [
    new FueletWalletConnector(),
    new FuelWalletConnector(),
  ],
});
```

{% endtab %}
{% endtabs %}

To detect that Fuelet wallet is installed you need to specify `FueletWalletConnector` when creating an instance of `Fuel` and then check the status of the needed connector:

{% tabs %}
{% tab title="TypeScript" %}

```javascript
const fuel = new Fuel({connectors: [new FueletWalletConnector()]});
const connectors = await window.fuel.connectors();
const fueletWalletInstalled = connectors.find((c) => {
  return c.name === 'Fuelet Wallet';
})?.installed ?? false;
```

{% endtab %}
{% endtabs %}

See more on [SDK documentation page](https://wallet.fuel.network/docs/dev/getting-started/).


---

# 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.fuelet.app/intergration-guide/detecting-wallet-presence.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.
