Skip to content

Quick Start

Get up and running with Pika Platform in 15 minutes. This guide takes you from zero to your first working chat application as quickly as possible.

Before you begin, verify you have these installed:

Terminal window
# Check Node.js version (need 22+)
node --version
# Check if pnpm is installed
pnpm --version
# Check if Git is installed
git --version

Install the Pika command-line tool globally:

Terminal window
pnpm install -g pika-app

Verify the installation:

Terminal window
pika --version

Create a new Pika application with a single command:

Terminal window
pika create-app my-chat-app

This command will:

  • Clone the Pika framework repository
  • Set up the complete project structure
  • Install all dependencies
  • Configure the project for your use case

The installation process takes 2-5 minutes depending on your internet connection.

Terminal window
cd my-chat-app

Take a moment to explore the structure:

my-chat-app/
├── apps/
│ ├── pika-chat/ # Main chat frontend
│ └── samples/ # Sample applications
├── services/
│ ├── pika/ # Core backend service
│ └── samples/ # Sample services (like weather)
├── packages/ # Shared packages
└── pika-config.ts # Project configuration

Update the project names in pika-config.ts to customize your installation:

export const pikaConfig: PikaConfig = {
pika: {
projNameL: 'mycompany',
projNameKebabCase: 'mycompany',
projNameTitleCase: 'MyCompany',
projNameCamel: 'mycompany',
projNameHuman: 'My Company'
},
pikaChat: {
projNameL: 'mycompanychat',
projNameKebabCase: 'mycompany-chat',
projNameTitleCase: 'MyCompanyChat',
projNameCamel: 'myCompanyChat',
projNameHuman: 'My Company Chat'
}
};

Start the development server:

Terminal window
pnpm dev

This command:

  • Builds the project
  • Starts the frontend development server
  • Opens your browser to http://localhost:3000

Your application is now running at http://localhost:3000!

Main Chat Interface

The home page shows available chat applications. With the default setup, you'll see the Weather chat app.

Weather Chat App

Visit http://localhost:3000/chat/weather to interact with the sample weather agent. Try asking "What's the weather in Seattle?"

Sample Enterprise Site

The sample at http://localhost:5173 demonstrates how to embed Pika chat into an existing website using an iframe.

The mock setup:

  • Hardcodes a single test user
  • No password required
  • Automatically authenticates anyone who visits

See the Authentication Guide to implement real authentication.

The weather service demonstrates:

  • How to define a chat app
  • How to create an agent with tools
  • How agents use tools to answer questions
  • How responses are rendered in the UI

This is your template for creating your own chat apps and agents.

Now that you have Pika running, you have several options:

Follow the Hello World Tutorial to create your first custom agent from scratch.

To test with real AWS services:

  1. Configure AWS CLI: aws configure
  2. Deploy backend: cd services/pika && pnpm build && pnpm run cdk:deploy
  3. Deploy sample: cd services/samples/weather && pnpm build && pnpm run cdk:deploy

See Local Development Guide for details.

If port 3000 is already in use:

Terminal window
# Kill the process using port 3000
lsof -ti:3000 | xargs kill -9
# Or use a different port
pnpm run dev -- --port 3001

If pnpm install fails:

Terminal window
# Clear pnpm cache and retry
pnpm store prune
pnpm install --force

If you see TypeScript compilation errors:

Terminal window
# Clean and rebuild
pnpm clean
pnpm install
pnpm build

If you encounter issues:

In this quick start, you:

  1. Installed the Pika CLI
  2. Created a new Pika application
  3. Configured your project
  4. Started the development server
  5. Explored the default weather chat app

You now have a working Pika installation ready for customization!

Ready to build your own agent? Head to the Hello World Tutorial to create your first custom chat app.