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.
Prerequisites
Section titled “Prerequisites”Before you begin, verify you have these installed:
# Check Node.js version (need 22+)node --version
# Check if pnpm is installedpnpm --version
# Check if Git is installedgit --versionStep 1: Install Pika CLI
Section titled “Step 1: Install Pika CLI”Install the Pika command-line tool globally:
pnpm install -g pika-appVerify the installation:
pika --versionStep 2: Create Your Application
Section titled “Step 2: Create Your Application”Create a new Pika application with a single command:
pika create-app my-chat-appThis 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.
Step 3: Navigate to Your Project
Section titled “Step 3: Navigate to Your Project”cd my-chat-appTake 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 configurationStep 4: Configure Your Project
Section titled “Step 4: Configure Your Project”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' }};Step 5: Start Development Mode
Section titled “Step 5: Start Development Mode”Start the development server:
pnpm devThis command:
- Builds the project
- Starts the frontend development server
- Opens your browser to
http://localhost:3000
Step 6: Explore Your Application
Section titled “Step 6: Explore Your Application”Your application is now running at http://localhost:3000!
What You Can Do:
Section titled “What You Can Do:”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.
Understanding the Default Setup
Section titled “Understanding the Default Setup”Mock Authentication
Section titled “Mock Authentication”The mock setup:
- Hardcodes a single test user
- No password required
- Automatically authenticates anyone who visits
See the Authentication Guide to implement real authentication.
Sample Weather Service
Section titled “Sample Weather Service”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.
Next Steps
Section titled “Next Steps”Now that you have Pika running, you have several options:
Option 1: Build Your First Custom Agent
Section titled “Option 1: Build Your First Custom Agent”Follow the Hello World Tutorial to create your first custom agent from scratch.
Option 2: Deploy to AWS
Section titled “Option 2: Deploy to AWS”To test with real AWS services:
- Configure AWS CLI:
aws configure - Deploy backend:
cd services/pika && pnpm build && pnpm run cdk:deploy - Deploy sample:
cd services/samples/weather && pnpm build && pnpm run cdk:deploy
See Local Development Guide for details.
Option 3: Learn More About Pika
Section titled “Option 3: Learn More About Pika”- Why Pika? - Understand the platform's design philosophy
- Capabilities - Explore what you can build
- Concepts - Learn how Pika works under the hood
Option 4: Customize Your Installation
Section titled “Option 4: Customize Your Installation”- Authentication - Implement real authentication
- Customization - Customize the UI and behavior
- Access Control - Configure who can access what
Common Quick Start Issues
Section titled “Common Quick Start Issues”Port 3000 Already in Use
Section titled “Port 3000 Already in Use”If port 3000 is already in use:
# Kill the process using port 3000lsof -ti:3000 | xargs kill -9
# Or use a different portpnpm run dev -- --port 3001Dependencies Fail to Install
Section titled “Dependencies Fail to Install”If pnpm install fails:
# Clear pnpm cache and retrypnpm store prunepnpm install --forceTypeScript Errors During Build
Section titled “TypeScript Errors During Build”If you see TypeScript compilation errors:
# Clean and rebuildpnpm cleanpnpm installpnpm buildGetting Help
Section titled “Getting Help”If you encounter issues:
- Check the detailed installation guide for system-specific instructions
- Review troubleshooting tips for common problems
- Visit the GitHub repository for issues and discussions
Summary
Section titled “Summary”In this quick start, you:
- Installed the Pika CLI
- Created a new Pika application
- Configured your project
- Started the development server
- 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.