# What is NaaS?

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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://city-protocol.gitbook.io/docs/neofinance-as-a-service/what-is-naas.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
