On this page

Good news: Puter.js integrates seamlessly with modern web frameworks. Whether you're building with Next.js, Astro, Vue, React, or any other framework, you can drop Puter.js right in and start using its features.
Simply install the Puter.js NPM library and start using it in your app.
npm install @heyputer/puter.js
import puter from "@heyputer/puter.js";
puter.ai.chat("What color was Napoleon's white horse?");
Examples
Puter.js is designed to be framework-agnostic. Check out our example repositories for implementations across different frameworks:
Learn More
For detailed guides on integrating Puter.js and using its APIs, visit the Puter.js documentation.
Have questions or run into issues? Join our Discord community or open an issue on GitHub.