Quickstart

Get started with a Palico app in your local development environment in just a few steps.

Requirements

Setup and Installation

Setup a Palico app with the following steps

Initialize an App

Create a palico app by running the following command:

npx palico init <project-name>

This will create a basic Palico app with a single conversational LLM application. This starter LLM application uses OpenAI so you will need to provide your OpenAI API key in the .env file.

Add your OpenAI API Key

Add your OpenAI API key to the .env file in the root of your project. You can get your OpenAI API key from https://platform.openai.com/api-keys.

OPENAI_API_KEY=<your-openai-api-key>

Start your Palico App

To start your Palico app, run the following command:

npm start

You can modify your chat application in src/agents/chatbot/index.ts. You can also chat with your chatbot in the Palico Studio at http://localhost:5173/chat.

Overview of your Palico Starter App

Was this page helpful?