# Connect to other wallets

When making a connection request to your user’s wallet, you can use the `Wallet.request` method to let them select their preferred wallet first:

```tsx
import Wallet from 'sats-connect';

export const App = () => {
  const handleConnect = async () => {
    const data = await Wallet.request('getAccounts', null);
  };

  return <button onClick={handleConnect}>Connect</button>;
};
```

If a [wallet is connected already](/sats-connect/connecting-to-the-wallet/connect-to-other-wallets/manage-a-users-default-wallet.md), the method resolves to the connected account's addresses.

If the user has not connected a wallet yet, the method will prompt them to select from their preferred wallet from a list of [Sats Connect-compatible wallets](/sats-connect/wallet-providers.md).&#x20;

<figure><img src="/files/C76SscvVaR4BcFCnQvAa" alt=""><figcaption></figcaption></figure>

Once they select a wallet, they will be presented with a connection request in their selected wallet, according to the parameters passed to the [getAccounts ](/sats-connect/connecting-to-the-wallet/legacy-getaccounts.md)method.&#x20;


---

# 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.xverse.app/sats-connect/connecting-to-the-wallet/connect-to-other-wallets.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.
