Prerequisites
Node.js and React: Please install Node.js
(version 16.0.0 or higher) before proceeding.
Go: Please install Go (version 1.19 or higher)
before proceeding.
Python: Please install Python (version
3.8 or higher) before proceeding.
Installation
Authentication
You can connect to Rapida using either Personal Tokens (for administration APIs) or Project API Keys (for typical app integration).Administration
Personal tokens are used for APIs that require write or administrative access. These tokens are essential for managing users, roles, projects, and performing create or update operations that need authentication.Implementation Example:
Project Credentials
Use this for typical integrations inside your apps and servers.Environment Variables
Create a.env file in your project root and add your Rapida credentials:
You can find your credentials in the Rapida dashboard under Settings → API
Keys.
Quick Start Example
Here’s a simple example to verify your installation:Recipes
Here are some repositories with example projects:Node.js Voice Agent
A web voice AI assistant built with Node.js.
Python Voice Agent
A voice AI assistant built with Python.
Go Voice Agent
A voice AI assistant built with Go.
React Voice Agent
A voice AI assistant built with React.
Troubleshooting
Error: Module not found
Error: Module not found
This may be due to an incorrect package name or version.Solution:
- Verify you’re using the correct package name for your platform
- Check that you have the minimum required version of Node.js, Go, or Python
- Try reinstalling the package
Authentication errors
Authentication errors
This usually indicates invalid or missing credentials.Solution:
- Verify your API keys are correct in your
.envfile - Check that your environment variables are being loaded properly
- Ensure you’re using the right authentication method (Personal Token vs SDK API Key)
Go module issues
Go module issues
If you encounter Go module or dependency issues.Solution:
- Ensure Go modules are enabled:
go mod init your-project-name - Run
go mod tidyto clean up dependencies - Check that you’re using Go 1.19 or higher
Node.js version compatibility
Node.js version compatibility
If you encounter issues with Node.js compatibility.Solution:
- Upgrade to Node.js 16.0.0 or higher
- Clear your npm cache:
npm cache clean --force - Remove
node_modulesand reinstall:rm -rf node_modules && npm install
Next Steps
- Explore the API Reference for all available endpoints
- Review Examples to see common usage patterns
- Learn how to configure Assistants and build custom experiences
- Check out our Quickstart Guide for a step-by-step tutorial