Choose Your Installation Method
RegPilot can be integrated into your application in multiple ways depending on your use case and technical stack.REST API
Direct HTTP requests - works with any language
SDK Integration
Official SDKs for Node.js, Python, and more
Framework Integration
Pre-built integrations for Next.js, React, etc.
Self-Hosted
Deploy RegPilot on your own infrastructure
REST API
The simplest way to get started is using the REST API directly. No installation required!Prerequisites
- RegPilot account (sign up here)
- API key from your project dashboard
Make Your First Request
SDK Integration
For a more integrated experience, use our official SDKs with built-in TypeScript support.Node.js / TypeScript
1
Install the package
2
Initialize the client
3
Make a request
Python
1
Install the package
2
Initialize the client
3
Make a request
Framework Integration
Next.js Integration
1
Install dependencies
2
Create API route
Create
app/api/chat/route.ts:3
Use in your components
React Integration
1
Install dependencies
2
Wrap your app with provider
3
Use the hook in components
Environment Variables
Set up your environment variables for secure API key management:- .env.local (Next.js)
- .env (Node.js)
- .env (Python)
Configuration Options
Configure RegPilot to match your requirements:Verify Installation
Test your installation with a simple health check:Next Steps
Authentication
Learn about API authentication and security
Make Your First Request
Follow our quickstart guide
API Reference
Explore the complete API documentation
Integration Guides
Framework-specific integration guides
Troubleshooting
Installation fails with npm
Installation fails with npm
If you encounter issues installing the SDK:
- Clear npm cache:
npm cache clean --force - Delete
node_modulesandpackage-lock.json - Run
npm installagain - Try with a different package manager (yarn or pnpm)
Module not found errors
Module not found errors
Ensure you’re importing from the correct package:
TypeScript type errors
TypeScript type errors
Make sure you have the latest type definitions:And ensure your
tsconfig.json includes:Need help? Join our community forum or email [email protected].