> ## Documentation Index
> Fetch the complete documentation index at: https://dynamic-docs-feat-sidebar-revamp.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure Web3.js Connection

> Modify Web3.js Connection to your unique needs.

## Configurable Wallet Connectors

In some cases you would want to override the default settings of the Web3.js Connection.

Dynamic allows you do to so by passing [`SolanaConnectionConfig`](https://solana.com/docs/clients/javascript-reference#connection) prop and an additional `customRpcUrls` property to `SolanaWalletConnectorsWithConfig`

For example:

```jsx
import { DynamicContextProvider } from '@dynamic-labs/sdk-react-core';
import { SolanaWalletConnectorsWithConfig } from '@dynamic-labs/solana';

<DynamicContextProvider
  settings={{
    walletConnectors: [
      SolanaWalletConnectorsWithConfig({
        commitment: "confirmed",
        httpHeaders: {
          "X-Requested-With": "XMLHttpRequest",
        },
        customRpcUrls: {
          solana: ["http://YOUR_URL"],
          eclipse: ["http://YOUR_URL"],
        },
      }),
    ],
    ... // other settings
  }}
>
  {...}
</DynamicContextProvider>

```
