> For the complete documentation index, see [llms.txt](https://city-protocol.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://city-protocol.gitbook.io/docs/neofinance-as-a-service/overview.md).

# Overview

Neofinance-as-a-Service (NaaS) is the comprehensive infrastructure that allows any project, founder, or community to spin up neobanking features without building the underlying financial stack from scratch.

<figure><img src="/files/A4iqTqELHvbWK1RlOYNn" alt=""><figcaption></figcaption></figure>

Before City Protocol, integrating these features was **complex, high-cost, and uncertain.** A project would have to connect individually to yield providers, swap routers, payment gateways, vault architectures, fiat on/off ramps, lending markets, and KYC/AML providers.

> **City Protocol's NaaS offering transforms this paradigm.**&#x20;

We provide a simple, modular, and low-cost integration layer. By connecting to City Protocol's SDK/API, projects instantly gain access to our entire ecosystem of mature, industry-leading platforms across all core verticals.

***

### First Steps

Ready to integrate NaaS into your product? Just follow these simple steps and start building in minutes.

{% stepper %}
{% step %}

#### **Install the SDK**

Add the `@cityprotocol/core` package to your project along with `viem`:

```llvm
bun add @cityprotocol/core viem
```

{% endstep %}

{% step %}

#### **Configure Your Vault**

Use the `createVault` method via the YieldVaultFactory to define your vault's name, symbol, and underlying asset. Configure fee rates (management, performance, entry/exit) and choose whether to enable cooldown mechanics, KYC gating, or whitelist controls based on your use case.
{% endstep %}

{% step %}

#### **Connect and Go**

Instantiate a `CityClient` with your Viem wallet client, and you're ready to execute deposits, redemptions, and read vault state. Pair it with `CityPortfolioClient` for subgraph queries to power transaction history, vault discovery, and TVL charts.
{% endstep %}
{% endstepper %}
