> ## Documentation Index
> Fetch the complete documentation index at: https://test-184b3b57.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Build an App

> A guide to building a next.js app on Base using OnchainKit

### Expected Outcome

<img src="https://mintcdn.com/test-184b3b57/PXoxIMsdZ2qTnCcP/images/quickstart-app.png?fit=max&auto=format&n=PXoxIMsdZ2qTnCcP&q=85&s=2fb6a82bf2c840a56e8e953323e6c46d" alt="title" width="3012" height="1700" data-path="images/quickstart-app.png" />

At the end of this guide, you will have a basic next.js app with basic onchain functionalities:

* Wallet authentication
* Swap
* Onramp

### Prerequisites

You will need:

* A [Coinbase Developer Platform](https://portal.cdp.coinbase.com/) account
* A [client API key](https://portal.cdp.coinbase.com/projects/api-keys/client-key) from Coinbase Developer Platform

### Guide

```
npm create onchain@latest
```

After the prompts, create onchain will create a folder with your project name and install the required dependencies.

### Build with AI

Below is a ready-to-use prompt to help you build your app with AI.

```
I'm working on a onchainkit project using [frameworks/libraries]. I need your help with:

1. Problem: [describe specific issue]
2. Current approach: [explain what you've tried]
3. Constraints: [mention any technical limitations]
4. Expected outcome: [describe what success looks like]

Here's the relevant documentation @https://docs.base.org/builderkits/onchainkit/llms.txt
```
