Clone the VapiBlocks Next14 TailwindCSS starter kit for instant setup, pre-configured with Vapi hook & Orb component. Try copying over and swapping out Orb with other components. To get the starter running, run the following commands:
Step One: Install starter dependencies and run
Step Two: Configure your Vapi assistant using enviornment variables
Edit the .env file with Vapi Public Key and Vapi Assistant ID. You can configure your assistant and get these values from the Vapi AI Dashboard.
You can work directly in web by forking this codesandbox:
After running the command, you will be prompted with a series of questions, this is where you can configure your project to use Vapi Blocks with NextJS and Tailwind CSS.
Lastly, copy over the use-vapi hook to your "hooks" folder (if using Next.js). If using Vanilla React, Vue or alternative framework copy over to "lib" or similar folder.
This hook can be extended with advanced function-calling and more.