# With the Wallet Adapter

If you are using or planning to use the [Aptos Wallet Adapter](https://github.com/hippospace/aptos-wallet-adapter/tree/main/packages/aptos-wallet-adapter), please follow the setup below:

### Installation

```bash
npm install @manahippo/aptos-wallet-adapter
```

### Setup Wallet Provider

```javascript
import React from 'react';
import {
  WalletProvider,
  RiseWalletAdapter,
} from '@manahippo/aptos-wallet-adapter';

const wallets = [
  new RiseWalletAdapter()
];

const App: React.FC = () => {
  return (
    <WalletProvider
      wallets={wallets}
      autoConnect={true | false} /** allow auto wallet connection or not **/
      onError={(error: Error) => {
        console.log('Handle Error Message', error);
      }}>
      {/* your website */}
    </WalletProvider>
  );
};

export default App;

```

### Additional documentation

You can find all essential and additional documentation inside [Wallet Adapter's documentation](https://github.com/hippospace/aptos-wallet-adapter/tree/main/packages/aptos-wallet-adapter).
