Follow these steps to run your ChaiBuilder site locally.
Make sure you have the following installed:
git clone https://github.com/chaibuilder/chaibuilder-nextjs.git
cd chaibuilder-nextjs
Using Pnpm:
pnpm install
Create a .env.local
file in the root directory:
touch .env.local
Add the following:
CHAIBUILDER_API_KEY=your_chaibuilder_api_key
CHAIBUILDER_WEBHOOK_SECRET=your_custom_webhook_secret
You can find your API key and manage your site here.
pnpm dev
Open http://localhost:3000/chai in your browser and login using Chai Builder credentials.
Your ChaiBuilder site should now be running locally. Make changes and see them live instantly. Start building
Have questions or need help with Chai Builder? Our friendly community and team members are ready to assist you!
Made with Chai Builder