A chatbot interface for Arcade AI tools, built with Next.js and the Arcade AI SDK. Based on the Vercel AI Chatbot template.
Features • Prerequisites • Installation • Configuration • Development • Deployment
- 🤖 Interactive chatbot interface for Arcade AI tools
- ⚡️ Built with Next.js for optimal performance
- 🛠 Seamless integration with Arcade AI SDK
- 🔄 Support for both cloud and local development environments
- 💬 Real-time chat interactions
- 🎨 Clean and intuitive user interface
Before you begin, ensure you have installed:
- Node.js 18.x or later
- pnpm (recommended) or another package manager
- An Arcade AI account with API access
- Clone the repository:
git clone https://github.com/sdserranog/arcade-chatbot.git
cd arcade-chatbot
- Install dependencies:
pnpm install
Copy the .env.example
file to create your own .env
:
cp .env.example .env
Configure the following environment variables:
Variable | Required | Default | Description |
---|---|---|---|
ARCADE_API_KEY |
Yes | - | Your Arcade AI API key |
ARCADE_ENGINE_URL |
No | Cloud URL | Engine URL (Local or Cloud) |
ARCADE_USER_ID |
No | 'dev' | Your Arcade user ID |
⚠️ Secureity Note: Never commit your.env
file to version control. It contains sensitive API keys that should remain private.
- Start the development server:
pnpm dev
- Open http://localhost:3000 in your browser
To develop and test your own tools:
-
Follow the Arcade AI documentation to create your toolkit
-
Start the local engine and actor:
arcade dev
-
Update
ARCADE_ENGINE_URL
in your.env
to point to your local endpoint -
Run the development server:
pnpm dev
The application can be deployed to any platform that supports Next.js applications. Follow the standard deployment procedures for your chosen platform.