Skip to main content

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:
Security Best Practice: Never commit your API keys to version control. Always use environment variables and add .env files to your .gitignore.

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

If you encounter issues installing the SDK:
  1. Clear npm cache: npm cache clean --force
  2. Delete node_modules and package-lock.json
  3. Run npm install again
  4. Try with a different package manager (yarn or pnpm)
Ensure you’re importing from the correct package:
Make sure you have the latest type definitions:
And ensure your tsconfig.json includes:
Need help? Join our community forum or email support@regpilot.com.