> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequence.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# On-ramp Overview

> The checkout on-ramp modal in Web SDK allows developers to easily onboard users with fiat currency into cryptocurrency using a credit card.

With this integration, one can use a credit card to purchase tokens across many different networks.

<Frame>
  <img src="https://mintcdn.com/sequence-0fb8d9e6/Wpr3jlEJhh_VDIM-/images/kit/kit-on-ramp.png?fit=max&auto=format&n=Wpr3jlEJhh_VDIM-&q=85&s=2ba6b77a63b2109baf8d4ac1f5c46eb7" alt="" width="1263" height="1080" data-path="images/kit/kit-on-ramp.png" />
</Frame>

## Integration

To integrate the on-ramp feature, follow these steps:

<Steps>
  <Step title="Connect with Web SDK">
    Make sure you completed the [Getting Started](/sdk/web/wallet-sdk/embedded/getting-started) guide.
  </Step>

  <Step title="1. Install the @0xsequence/checkout library">
    ```bash theme={null}
    npm install @0xsequence/checkout
    # or
    pnpm install @0xsequence/checkout
    # or
    yarn add @0xsequence/checkout
    ```
  </Step>

  <Step title="2. Place the `SequenceCheckoutProvider` Below the `SequenceConnect` Provider in your App:">
    ```jsx theme={null}
    import { SequenceCheckoutProvider } from '@0xsequence/checkout'
    import { SequenceConnect } from '@0xsequence/connect'
    import { config } from './config'

    const App = () => {
      return (
        <SequenceConnect config={config}>
          <SequenceCheckoutProvider>
            <Page />
          </SequenceCheckoutProvider>
        </SequenceConnect>
      )
    }
    ```
  </Step>

  <Step title="3. Adding Funds with a Credit Card">
    Call the `triggerAddFunds` function to cause a modal to appear

    ```js theme={null}
      import { useAddFundsModal } from '@0xsequence/checkout'
      import { useAccount } from 'wagmi'

      const MyComponent = () => {
        const { address: recipientAddress } = useAccount()
        const { triggerAddFunds: toggleAddFunds } = useAddFundsModal()

        const onClick = () => {
          toggleAddFunds({
            walletAddress: recipientAddress,
          })
        }

        return (
          <button onClick={onClick}>Add Funds</button>
        )
      }
    ```
  </Step>
</Steps>

Congratulations! You’ve just learned how to add funds to your wallet using Web SDK.

# Configuration Overview

The following is the available configuration customization options for toggleAddFunds params

```ts theme={null}
interface AddFundsSettings {
  walletAddress: string | Hex // Address of the wallet where funds will be added
  fiatAmount?: string // Specify the amount in fiat to add
  fiatCurrency?: string // Specify the fiat currency (e.g., USD, EUR)
  defaultFiatAmount?: string // Default amount in fiat to add
  defaultCryptoCurrency?: string // Default cryptocurrency to use (e.g., ETH, BTC)
  cryptoCurrencyList?: string // List of cryptocurrencies available for selection. Example: "USDT,BTC,USDC"
  networks?: string // Specify network(s) to use for the transaction. Example: "mainnet,ethereum"
  onClose?: () => void // Callback function to execute when the modal is closed
}
```
