Getting Started

Installation & Setup

Get up and running with AI Nexus Pro in minutes. Follow our step-by-step installation guide to integrate AI capabilities into your applications.

Installation Steps

Follow these four simple steps to get started with AI Nexus Pro.

1

Create Account

Sign up for an AI Nexus Pro account to get your API credentials

  • Visit our signup page
  • Verify your email address
  • Complete your profile setup
  • Access your dashboard
2

Get API Key

Generate your API key from the dashboard

  • Navigate to API Settings
  • Generate new API key
  • Copy and securely store your key
  • Set up environment variables
3

Install SDK

Install the appropriate SDK for your development environment

  • Choose your preferred language
  • Install via package manager
  • Import the SDK in your project
  • Initialize the client
4

Test Connection

Verify your setup with a simple test

  • Run a basic API call
  • Check response status
  • Verify authentication
  • Test chatbot functionality

Code Examples

Get started quickly with these installation and setup examples.

javascript

// 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);
  }
}

python

# 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)

curl

# 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"
# }

Environment Variables

Configure your environment variables for secure API access.

Required Environment Variables

Set these variables in your development environment

Production Environment

AINEXUS_API_KEY=your_production_api_key
AINEXUS_ENVIRONMENT=production
AINEXUS_BASE_URL=https://api.ainexuspro.online

Development Environment

AINEXUS_API_KEY=your_dev_api_key
AINEXUS_ENVIRONMENT=development
AINEXUS_BASE_URL=https://dev-api.ainexuspro.online

Ready for the Next Step?

Now that you have AI Nexus Pro installed, let's create your first AI bot.

Quick Help

Ask me anything about this page

Ready to help