> For the complete documentation index, see [llms.txt](https://docs.xverse.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xverse.app/sats-connect/connecting-to-the-wallet/connect-to-other-wallets.md).

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