Chat App Example

Clone the repository to get started with the Chat App.

The Chat App is now also available directly in the Pica Dashboard.

Getting Started

This example demonstrates how to integrate Pica OneTool with a Chat App.

  1. Clone the repository:
git clone https://github.com/picahq/onetool-demo.git
cd onetool-demo
  1. Install dependencies:
npm install
  1. Create a .env file in the root directory from the .env.example file:
PICA_SECRET_KEY=your_secret_key
OPENAI_API_KEY=your_openai_api_key
VariableDescriptionRequired
PICA_SECRET_KEYYour Pica API secret keyYes
OPENAI_API_KEYYour OpenAI API keyYes
  1. Run the development server:
npm run dev
  1. Open http://localhost:3000 in your browser 🚀

Usage

Here are some example commands you can use to get started:

  • What connections are available?
  • Send an email using gmail to john@doe.com
  • Create a new Shopify product
  • Insert a new record into my Postgres database
  • Create a record in Airtable
  • What actions are supported for Attio?
  • Search the web for the best restaurants in SF using Exa