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

# How-to: Configure your integrator fee

> Set the integrator fee rate and recipient address that apply to every loan origination

The integrator fee applies to every loan origination once set, so you configure
it once rather than passing it per call. For an overview of how the fee fits
into loan proceeds, see [How borrow fees work](/app-kit/concepts/borrow-fees).

<Note>
  If you use this feature, Arc keeps 10% of the custom fee you collect from your
  end users.
</Note>

## Prerequisites

Before you begin, ensure that you've:

* [Installed the App Kit SDK](/app-kit/tutorials/installation)
* [Configured an adapter](/app-kit/tutorials/adapter-setups)

These are required so any example below runs with a valid `kit` and `adapter`.

## Set your fee rate and recipient

Call `kit.borrow.setIntegratorConfig` with your fee in basis points and the
address that receives the fee. This call requires an API key from the
[Circle Console](https://console.circle.com/api-keys), passed as `apiKey` on the
operation config. Keep the API key server-side. It produces no wallet signature.

```typescript TypeScript theme={null}
const config = await kit.borrow.setIntegratorConfig({
  integratorFeeBps: 25,
  integratorFeeAddress: "0x1111111111111111111111111111111111111111",
  config: { apiKey: process.env.CIRCLE_API_KEY as string },
});
```

`integratorFeeBps` accepts values from `0` to `10000`.

## Turn the fee off

Pass `0` with a `null` address to turn off fee collection:

```typescript TypeScript theme={null}
await kit.borrow.setIntegratorConfig({
  integratorFeeBps: 0,
  integratorFeeAddress: null,
  config: { apiKey: process.env.CIRCLE_API_KEY as string },
});
```

## Read your current configuration

Call `kit.borrow.getIntegratorConfig` to read the stored rate and recipient:

```typescript TypeScript theme={null}
const config = await kit.borrow.getIntegratorConfig({
  config: { apiKey: process.env.CIRCLE_API_KEY as string },
});
console.log(config.integratorFeeBps, config.integratorFeeAddress);
```

Before the first `setIntegratorConfig` call, `getIntegratorConfig` throws
[`CONFIG_NOT_FOUND`](/app-kit/references/borrow-error-handling#input-errors).
