Prerequisites
Before getting started, ensure you have the following installed:- Node.js: Version 20.6.0 LTS or later
- npm: Version 9.0.0 or later
- Git: Latest version
Developer Account Setup
1. Create a Developer Account
- Go to https://developers.vibing.im
- Click “Sign Up” and complete the registration form
- Verify your email address
- Complete your developer profile
2. Create an Application
- Log in to the Developer Portal
- Navigate to “Applications” and click “Create New Application”
- Enter application details:
- Name
- Description
- Category
- Redirect URIs (for OAuth)
- Note your Client ID and Client Secret
Installing the SDK and CLI
Install the SDK
The Vibing AI SDK provides the core libraries for developing platform offerings:Install the CLI Tools
The Vibing CLI provides helpful commands for development, testing, and deployment:Project Initialization
Initialize a new project using the CLI:Configuration
Configure Your Project
Update thevibe.config.js file with your application details:
Set Up Environment Variables
Create a.env file to store sensitive information:
.env to your .gitignore file to prevent committing sensitive information.
Development Workflow
Start Development Server
Run the development server to start working on your project:- Start a local development server
- Watch for file changes
- Provide a sandbox environment
- Open your default browser (with —open flag)
Testing Your Project
Run tests to ensure your project is working correctly:Building for Production
Build your project for production:Sandbox Environment
The sandbox environment allows you to test your offering without affecting production data:Troubleshooting
Common Issues
-
EACCES permissions errors
If you get permission errors when installing the CLI globally:
-
Connection to developer portal fails
Check your internet connection and verify your API keys in
.envfile. -
Development server fails to start
Try clearing the cache:
Getting Help
If you encounter issues:- Check the documentation
- Join our Discord community
- Open an issue on GitHub
- Contact support at support@vibing.im