Get up and running with AI Nexus Pro in minutes. Follow our step-by-step installation guide to integrate AI capabilities into your applications.
Follow these four simple steps to get started with AI Nexus Pro.
Sign up for an AI Nexus Pro account to get your API credentials
Generate your API key from the dashboard
Install the appropriate SDK for your development environment
Verify your setup with a simple test
Get started quickly with these installation and setup examples.
// Install via npm
npm install @ainexuspro/sdk
// Initialize the client
import { AINexusClient } from '@ainexuspro/sdk';
const client = new AINexusClient({
apiKey: process.env.AINEXUS_API_KEY,
environment: 'production'
});
// Test the connection
async function testConnection() {
try {
const response = await client.health.check();
console.log('✅ Connection successful:', response);
} catch (error) {
console.error('❌ Connection failed:', error);
}
}
# Install via pip
pip install ainexuspro
# Initialize the client
from ainexuspro import AINexusClient
import os
client = AINexusClient(
api_key=os.getenv('AINEXUS_API_KEY'),
environment='production'
)
# Test the connection
def test_connection():
try:
response = client.health.check()
print('✅ Connection successful:', response)
except Exception as error:
print('❌ Connection failed:', error)
# Test API connection with cURL
curl -X GET https://api.ainexuspro.online/api/health \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
# Expected response:
# {
# "status": "healthy",
# "timestamp": "2024-01-15T10:30:00Z",
# "version": "1.0.0"
# }
Configure your environment variables for secure API access.
Set these variables in your development environment
AINEXUS_API_KEY=your_production_api_key
AINEXUS_ENVIRONMENT=production
AINEXUS_BASE_URL=https://api.ainexuspro.online
AINEXUS_API_KEY=your_dev_api_key
AINEXUS_ENVIRONMENT=development
AINEXUS_BASE_URL=https://dev-api.ainexuspro.online
Now that you have AI Nexus Pro installed, let's create your first AI bot.
Ask me anything about this page