# Pimlico (/sdk/v5_3_x/infra/pimlico)

> For the complete documentation index, see [llms.txt](/llms.txt)



<VersionWarning version="5.3.x" />

[Pimlico](https://www.pimlico.io/) is a leading AA infra provider with a wide coverage of networks.

Note that ZeroDev is built on top of Pimlico's [Permissionless](https://docs.pimlico.io/permissionless/reference) SDK, so if you were already using Permissionless, it's easy to switch to ZeroDev to take full advantage of the power of [Kernel](https://github.com/zerodevapp/kernel).

## Using Pimlico bundler [#using-pimlico-bundler]

Simply specify Pimlico's bundler RPC when [constructing a Kernel client](/sdk/v5_3_x/core-api/create-account#standard-api):

```typescript
import { createKernelAccountClient } from "@zerodev/sdk"
import { http } from "viem"

const kernelClient = createKernelAccountClient({
  // other options...

  transport: http('PIMLICO_BUNDLER_RPC'),
})
```

## Using Pimlico paymaster [#using-pimlico-paymaster]

Construct the Kernel client with Pimlico's paymaster client:

```typescript
import { http } from "viem"
import { polygonMumbai } from 'viem/chains'
import { createKernelAccountClient } from "@zerodev/sdk"
import { createPimlicoPaymasterClient } from "permissionless/clients/pimlico"

const kernelClient = createKernelAccountClient({
  account,
  chain: polygonMumbai,
  transport: http('PIMLICO_BUNDLER_RPC'),
  sponsorUserOperation: async ({ userOperation }) => {
    const paymaster = createPimlicoPaymasterClient({
      chain: polygonMumbai,
      transport: http('PIMLICO_PAYMASTER_RPC'),
    })
    return paymaster.sponsorUserOperation({
      userOperation
    })
  }
})
```
